Carry Flag Write a program that uses addition and subtraction to set and clear t
ID: 441243 • Letter: C
Question
Carry Flag Write a program that uses addition and subtraction to set and clear the Carry flag. After each instruction, insert the call DumpRegs statement to display the registers and flags. Using comments, explain how (and why) the Carry flag was affected by each instruction. Zero and Sign Flags Write a program that uses addition and subtraction to set and clear the Zero and Sign flags. After each addition or subtraction instruction, insert the call DumpRegs statement (see Section 3.2) to display the registers and flags. Using comments, explain how (and why) the Zero and Sign flags were affected by each instruction. Overflow Flag Write a program that uses addition and subtraction to set and clear the Overflow flag. After each addition or subtraction instruction, insert the call DumpRegs statement (see Section 3.2) to display the registers and flags. Using comments, explain how (and why) the Overflow flag was affected by each instruction. Include an ADD instruction that sets both the Carry and Overflow flags.Explanation / Answer
plz post individual questions...!! will surely help..!!