下列哪些语句一定能够将ZF标志位的值设置为1?()A、XOR AX,AXB、SUB AX,AXC、ADD AX,AXD、AND AX,AX
下列哪些语句一定能够将ZF标志位的值设置为1?()
- A、XOR AX,AX
- B、SUB AX,AX
- C、ADD AX,AX
- D、AND AX,AX
相关考题:
若(AX)=0122H,四个标志位CF、SF、ZF、OF 的初始状态为0,执行指令SLIBAX,OFFFH后,这四个标志位的状态是( )。A.(CF)=0, (SF)=0, (ZF)=0, (OF)=0B.(CF)=1, (SF)=1, (ZF)=0, (OF)=0C.(CF)=0, (SF)=0, (ZF)=1, (OF)=1D.(CF)=1, (SF)=1, (ZF)=1, (OF)=1
若(AX)=0122H,四个标志位CF、SF、ZF、OF的初始状态为0,执行指令SUB AX, 0FFFH后,这四个标志位的状态是______。A.(CF)=O,(SF)=0,(ZF)=0,(OF)=0B.(CF)=1, (SF)=1, (ZF)=0, (OF)=0C.(CF)=0, (SF)=0, (ZF)=1, (OF)=1D.(CF)=1, (SF)=1, (ZF)=1, (OF)=1
问答题求出15F4H减去4EA0H之差,并根据结果设置标志位SF、ZF、CF和OF的值。