Question: Assembly language, how could I use octal, binary, or decimal numbers instead of hexadecimal constants for this program? I wanna keep all the same but
Assembly language, how could I use octal, binary, or decimal numbers instead of hexadecimal constants for this program?
I wanna keep all the same but put use octal, binary, or decimal numbers instead of hexadecimal constants
INCLUDE Irvine32.inc
.data val1 dword 10000h val2 dword 40000h val3 dword 20000h finalVal dword ?
.code main PROC
mov ebx,val1 add ebx,val2 sub ebx,val3 mov finalVal,eax call DumpRegs
exit main ENDP END main
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
