PEP/8

Mnemonic, mode Hex Binary Instruction
LDA,i C0 1100 x000 Load into AC from immediate
LDA,d C1 1100 x001 Load into AC from memory address
STA,i C1 1100 x001 [ILLEGAL INSTRUCTION]
STA,d E1 1110 0001 Store from AC into memory
ADDA,i 70 0111 0000 Add AC + immediate (into AC)
ADDA,d 71 0111 0001 Add AC + memory (into AC)
SUBA,i 80 1000 0000 Subtract AC - immediate (into AC)
SUBA,d 81 1000 0001 Subtract AC - memory (into AC)
I/O instructions>
CHARI,d 49 0100 1001 Character input to memory
CHARO,i 50 0100 1000 Character output from immediate
CHARO,d 51 0101 1001 Character output from memory
DECI,d 31 0011 0001 Read a decimal number into memory.
DECO,i 38 0011 1000 Write a decimal number from immediate.
DECO,d 39 0011 1001 Write a decimal number from memory.
Branch instructions>
STOP 00 0000 0000 Stop the computer!
BR 04 0000 0100 Branch to specified address
Add two numbers together: