1 Where indicated write down the values of the Carry Sign Ze

1. Where indicated, write down the values of the Carry, Sign, Zero, and overflow flags after each instruction is executed Verify your solution by running the program using the 8086 emulator. You must include the screen shot of your program to receive credit. ax, 7FF0h mov al, 10h add SF CF ZF OF ah, 1 add CF SF ZF OF add SF 2 CF ax ZF OF

Solution

mov ax, 7FF0h                       
add al, 10h                                    ; a CF= 1            SF =0                        ZF =1                        OF = 0
add ah, 1                                      ; b CF= 0            SF = 1                        ZF =0                        OF = 1
add ax, 2                                       ; c CF= 0            SF =1                        ZF =0                        OF =0

 1. Where indicated, write down the values of the Carry, Sign, Zero, and overflow flags after each instruction is executed Verify your solution by running the p

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site