ADD # add the next box's contents to the accumulator
ADD AA add box AA's contents to the accumulator
BEQ AA branch to box AA if the accumulator = 0
BMI AA branch to box AA if the accumulator < 0
BPL AA branch to box AA if the accumulator >= 0
DEC AA subtract one from box AA
HLT halt
INC AA add one to box AA
INP AA input a number from the keyboard into box AA
JMP AA jump to box AA
JSR AA jump to the subroutine starting at box AA
LDA # load the accumulator with the next box's contents
LDA AA copy the number in box AA into the accumulator
OUT AA output the number in box AA
RTS return from subroutine
STA AA copy the number in the accumulator to box AA
SUB # subtract the next box's contents from the accumulator
SUB AA subtract box AA's contents from the accumulator
AA is 0 to 99
Labels require a trailing colon. eg LOOP:JSR SUB1