Quickfingerz
Diamond Member
I have to write a program that reads in a file in assembly language (Intel syntax for x86 CPU's).
I can take in file but how will I compare each word on the line. I tried using tokens but everyone is reccomending to not use it because supposedly no one uses them.
I need some detailed tips.
I'm supposed to handle MOV, ADD, DUB, MUL, and 4 jump commands.
Thanks in advance.
I can take in file but how will I compare each word on the line. I tried using tokens but everyone is reccomending to not use it because supposedly no one uses them.
I need some detailed tips.
I'm supposed to handle MOV, ADD, DUB, MUL, and 4 jump commands.
Thanks in advance.