PDP-8 Listing of add two numbers *0 / Set the location counter to address 0 0000 7200 CLA / Clear the Accumulator 0001 1005 TAD NUM1 / Load the 1st number 0002 1006 TAD NUM2 / Add the second number 0003 3007 DCA TOTAL / Save the result 0004 7402 HLT / Do not execute the following data 0005 0003 NUM1, 3 / First number (or AND 0003) 0006 0004 NUM2, 4 / Second number (or AND 0004) 0007 0000 TOTAL, 0 / Result (or AND 0007)