First page Back Continue Last page Overview Graphics

Laboratory 3.2 : Condition Code Register


Notes:

Set up sections for code and data as in the previous programs. Set the program counter to 0x900.
Step through the program (until the nop instruction is reached) and show the contents of Accumulator A after program execution.
 
A = ________________
Show the states of the following (Condition Code [CC] Register) after execution:
 
Carry Flag (C) ______ Overflow Flag (V) ______
Negative Flag (N) ______ Zero Flag (Z) ______
 
Is the result negative? _______ Did overflow occur? ______
Did a carry result? _______