This would be my first post@codecall.net.
I have just started learning assembly(masm32 syntax) for ia-32 architecture. I have been studying the theory of it for a while and after getting a hang of the fundamentals of the ia-32 architecture, I just wrote a couple of programs, very simple ones that do nothing but perform simple arithmetic operations. Example:
.386 .model flat,stdcall include \masm32\include\kernel32.inc includelib \masm32\lib\kernel32.lib .data number1 byte 32 number2 byte 67 .data? sum byte ? .code start: mov al,number1 add al,number2 mov sum,al invoke ExitProcess,0 END mainI would like to be able to check the value of the registers after these addition of the two numbers is carried out. I have this book, Introduction to 80x86 Assembly by Kip Irvine. In this book, the author uses his own file, irvine32.inc, that has a function/procedure called DumpRegs, that displays the contents of all the registers. Could someone point me to a tutorial or tell me how to do this stuff manually? I know that it might be lengthy and difficult, but I'll take time and try to understand how it works, since I prefer using my own code than the code in irvine32.inc.
Thank You,
Devjeet


Sign In
Create Account

Back to top









