用汇编语言编写程序段, 设变量buff1和buff2分别存有4个字节的数据,编写计算这两个变量相减的程序段
发布网友
发布时间:2022-04-24 01:27
我来回答
共1个回答
热心网友
时间:2023-10-18 11:23
CLR C
MOV A,buff1+03H
SUBB A,buff2+03H
MOV buff3+03H,A
MOV A,buff1+02H
SUBB A,buff2+02H
MOV buff3+02H,A
MOV A,buff1+01H
SUBB A,buff2+01H
MOV buff3+01H,A
MOV A,buff1
SUBB A,buff2
MOV buff3,A
追问不好意思,忘说型号了,8086的汇编。
热心网友
时间:2023-10-18 11:23
CLR C
MOV A,buff1+03H
SUBB A,buff2+03H
MOV buff3+03H,A
MOV A,buff1+02H
SUBB A,buff2+02H
MOV buff3+02H,A
MOV A,buff1+01H
SUBB A,buff2+01H
MOV buff3+01H,A
MOV A,buff1
SUBB A,buff2
MOV buff3,A
追问不好意思,忘说型号了,8086的汇编。