INC OPRD ;OPRD<--OPRD+1
;自加1指令
code segmentDEC OPRD ;OPRD<--OPRD-1mov ax,0
inc ax ;ax<--ax+1 ,ax=1
inc ax ;ax<--ax+1 ,ax=2
code ends
;自减1指令
code segment mov ax,5 dec ax ;ax<--ax-1 ,ax=4code ends
8086 INC, DEC
最新推荐文章于 2022-06-02 21:11:45 发布