Created
November 5, 2018 10:56
-
-
Save kurianbenoy/613b868dcbf26d44c47fffc06cd290b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<stdlib.h> | |
#include<string.h> | |
void main() | |
{ | |
FILE *p; | |
char label[100],opcode[100],operand[100],c; | |
p = fopen("assembly.txt","r"); | |
while((c= fgetc(p) != EOF) | |
{ | |
if (feof(p)) | |
break; | |
printf("%c\n",c); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment