CS 255 Program 1

This is my answer to program 1. Other versions can be correct. This might not even be the best one.
 
Line  Address Instruction Comment
1 2,3 2103 Load R1 with 3
2 4,5 3124 Store R1 in mem(24)
3 6,7 2202 Load R2 with 2
4 8.9 3225 Store R2 in mem(25)
5 A,B 23FF Load R3 with all ones
6 C,D 9032 XOR R3,R2 into R0 complement
7 E,F 2401 Load 1 into R4  add 1
8 10,11 5540 R5 = R4 + R0 (-2)
9 12,13 5651 R6 = R5 + R1  3 + (-2)
10 14,15 3626 mem(26) = R6 
11 16,17 C000 Halt