Assembly language

Assembly Language
Download Document
Showing pages : 1 of 1
This preview has blurred sections. Sign up to view the full version! View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: TITLE subtract three integers ; ; ; ; ; ; ; ( (main.asm) Description: Assignment 2 part 1 Using the AddSub program from Section 3.2 on page 76 of your textbook as a reference, write a program that subtracts three integers using only 16 bit registers. Revision date: I INCLUDE Irvine32.inc .data val1 val2 val3 finalVal .code m main PROC mov sub sub mov call exit main ENDP END main ax,val1 ax,val2 ax,val3 finalVal, ax D DumpRegs ; AX = 8000h ; AX = 4000h ; AX = 2000h SWORD SWORD SWORD S SWORD 8000h 4000h 2000h ? ...
View Full Document