首页 > 其他 > 详细

Add and Substract

时间:2016-10-19 22:02:39      阅读:379      评论:0      收藏:0      [点我收藏+]
TITLE Add and Subtract          (AddSub.asm)

; This program adds and subtracts 32-bit integers.

INCLUDE Irvine32.inc

.code
main PROC

    mov    eax,10000h        ; EAX = 10000h
    add    eax,40000h        ; EAX = 50000h
    sub    eax,20000h        ; EAX = 30000h
    call    DumpRegs

    exit
main ENDP
END main

 

Add and Substract

原文:http://www.cnblogs.com/dreamafar/p/5978857.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!