• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How do I make an assembler in C++? (read for more details)

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.
 
Back
Top