clear power on regs # use bit to turn on V memset 1000 40 op 2c 0010 # V should be 1 test v = 1 # use bit to turn on S memset 1000 80 op 2c 0010 # S should be 1 test s = 1 # this should turn off Z memset 1000 01 op a9 ff op 2c 0010 # Z should be 0 test z = 0 # this should turn on Z memset 1000 00 op 2c 0010 # Z should be 1 test z = 1 save verify_2C.txt