My Calendar

2012年4月14日 星期六

Assembly language (Intel-Based) Chapter3 Exercise 1

TITLE Subtract (Subtract.asm)

COMMENT &
Using the AddSub program from Section3.2 as a refresnce, write a program that subtract three integers using only
16-bit registers
&

include Irvine32.inc

.code
main PROC

mov ax,7000h
sub ax,2000h
sub ax,3000h
sub ax,1000h
call DumpRegs
exit
main ENDP
END main

沒有留言:

張貼留言