LD R1, a ;move the value of a into R1 LD R2, b ;move the value of b into R2 NOT R1, R1 NOT R2, R2 AND R3, R1, R2 NOT R3, R3 HALT