summaryrefslogtreecommitdiff
path: root/assembler.c
diff options
context:
space:
mode:
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;
-
+*/
}