SAP-2



Architectural Changes



Bidirectional registers



Instruction Set



In-Class Exercise 1

START   IN 01H
LOOP    MOV B,A
        DCR A
        MOV C,A
        ANA B
        MOV A,C
        JNZ LOOP
DONE



Flags



In-Class Exercise 2