汇编语言王爽11.1答案及解释
ps1:运算指令的执行是影响标志寄存器的,比如,add、sub、mul、div、inc、or、and等;ps2:传送指令对标志寄存器没有影响.比如:mov 、push 、pop 等
sub al , al al = 0H = 00000000B ZF=1PF=1SF=0
mov al , 1 al = 1H = 00000001B ZF=1PF=1SF=0(ps2)
push ax ax = 1H ZF=1PF=1SF=0(ps2)
popbx ax = bx = 1H ZF=1PF=1SF=0(ps2)
add al , bl al = 2H = 00000010B ZF=0PF=0SF=0
add al , 10 al = 12H= 00001010B ZF=0PF=1SF=0
mul al al = 144H=10010000B ZF=0PF=1SF=0
页:
[1]