Ok, good. Now look in Apendix - D. In it you will see the HEX (BINARY) equivalents to each Assembly command..I am making a compiler myself, and let me tell you, I couldn't have gotten this far without that section. You will NOT be able to find it anywhere else. ALSO, if you still don't get it, then use NASM to compile EACH code seperatly to see what it does and how it reacts.
For example:
make an test.asm file with this in it ----> mov ah,ah The end result will be something like 88C0 in HEX (I beleive that is correct.)
You can view each BIN file in a hex editor. Make sure you type nasmw test.asm and the result file will be test. You then view test in a hex editor.
Do this for EACH command and you will see the HEX equivalent for each.I did.. Took a LOT of work, but i'm now able to make my own compiled programs.
![]()




I am making a compiler myself, and let me tell you, I couldn't have gotten this far without that section. You will NOT be able to find it anywhere else. ALSO, if you still don't get it, then use NASM to compile EACH code seperatly to see what it does and how it reacts.
Reply With Quote