SAP-1
 
ADDR
3
2
1
0
DATA
OPCODE OPERAND
7
6
5
4
3
2
1
0
 
OUTPUT
0
0
RUN
PROG
 
LOAD
AUTO
MAN
 
STEP
 
CLR
 
GO
DEBUG:
State: 1 PC: 00 OPCODE: ??? REGA: 00 REGB: 00
RAM: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Programming Guide
Opcode Mnemonic Info
0000 LDA Load data from RAM address to the Accumulator (REG A).
0001 ADD Add Accumulator to data from RAM address.
0010 SUB Subtract data from RAM address from the Accumulator .
1110 OUT Output data in Accumulator to the display
1111 HLT Halt all operations.
Sample Program (1 + 2)
ADDR DATA Info
0000 0000 1010 LDA 1010
0001 0001 1011 ADD 1011
0010 1110 0000 OUT
0011 1111 0000 HLT
1010 0000 0001 DATA: 1
1011 0000 0010 DATA: 2