EMAC PRIMER Instruction Manual page 46

Table of Contents

Advertisement

FF01
Move the DIP switches to the on position, so that the value of the DIP switches wil be be 0 and single step
to address FF06 again.
FF06
Examine the flag register and you will see that bit 6 (the zero flag) is 1 indicating that the ORA A
instruction gave a zero as a result. As you can see, the A register is 0. Single step and the JNZ FF01
instruction won't be executed because the conditional is false (since zero flag is 1).
FF09
This is the end of the program.
46

Advertisement

Table of Contents
loading

Table of Contents