* * This program expects three command-line arguments a, b, c * and prints the value of (a + b < c). True/false == 1/0. * 0: LD 1,1(0) load a into R1 1: LD 2,2(0) load b into R2 2: LD 3,3(0) load c into R3 3: ADD 4,1,2 compute a + b 4: SUB 5,3,4 compute c - (a + b) 5: JGT 5,2(7) jump if difference is positive 6: LDC 6,0(0) load a 0 into output register 7: LDA 7,1(7) jump over the else clause 8: LDC 6,1(0) load a 1 into output register 9: OUT 6,0,0 print result 10: HALT 0,0,0