summaryrefslogtreecommitdiff
path: root/assembler.c
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-04-07 02:35:46 +1000
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-04-07 02:35:46 +1000
commitfbca225d25db812fe7823a8528dff17320cf1c53 (patch)
treef99d672c7245233814cd038fd683ef8bf4270961 /assembler.c
parent4b2952578ece47358960e29825443f77070a7457 (diff)
commit so I can access it tomorrow.
Diffstat (limited to 'assembler.c')
-rw-r--r--assembler.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/assembler.c b/assembler.c
index e302218..b20d13b 100644
--- a/assembler.c
+++ b/assembler.c
@@ -1,10 +1,10 @@
+// assembler.c
+// A minimalistic assembler for creating binary files.
+
#include"stdio.h"
//syscall library
-//Will probably need to make a special case which will prevent EOF
-//from being written.
-
int main(int argc; char* argv[]){
int output = 0;
switch(argc){
@@ -27,13 +27,14 @@ int main(int argc; char* argv[]){
//call open file
// DRAFTING PROG LOGIC
+/*
char c = 0;
char in[10];
while((c != '\n') && (c != EOF)
c = getchar;
if(c == '#') c = '\n';
in[i] = c;
-
+*/
}