.386
.model flat,stdcall
.stack 4096
ExitProcess proto,dwExitCode:dword
.data
val1 byte 10h
val2 word 8000h
val3 dword 8000h
val4 word 7FFFh
.code
main PROC
;①
inc val2
;②
sub eax,val3
;③
mov bx,val2
sub bx,val4
mov val2,bx
;④
add val2,1
;⑤
add val4,1
INVOKE ExitProcess,0
main ENDP
END main
010.汇编语言基于x86处理器教材习题4.2.8:①-⑤程序
最新推荐文章于 2024-05-16 23:46:54 发布