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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!