#AND GR1, 0 # #LOAD GR0, *0xFE #AND GR0, 0xF #STORE GR0, *0xFF #ADD GR1, *0xFF # #LOAD GR0, *0xFE #LSR GR0, *4 #AND GR0, 0xF #STORE GR0, *0xFF #ADD GR1, *0xFF # #LOAD GR0, *0xFE #LSR GR0, *8 #AND GR0, 0xF #STORE GR0, *0xFF #ADD GR1, *0xFF # #LOAD GR0, *0xFE #LSR GR0, *12 #AND GR0, 0xF #STORE GR0, *0xFF #ADD GR1, *0xFF # #STORE GR1, *0xFF # LOAD GR0, *0x00 LOAD GR1, *0x00 CMP GR0, GR1 BEQ @TEST LOAD GR0, *0xFF TEST: HALT