A15
A14
A13
A12
A11
A10
A09
A08
A07
A06
A05
A04
A03
A02
A01
A00
OFF/ON
STOP
RUN
SINGLE STEP
EXAMINE
EXAMINE-NEXT
DEPOSIT
DEPOSIT-NEXT
RESET
Load Data
In HEX string, such as 'c3 00 00'
- How to input and run the following adder program to calculate 1 + 2 = 3:
LDA 0080H ; 00 111 010 ; 10 000 000 ; 00 000 000 MOV B,A ; 01 000 111 LDA 0081H ; 00 111 010 ; 10 000 001 ; 00 000 000 ADD B ; 10 000 000 STA 0082H ; 00 110 010 ; 10 000 010 ; 00 000 000 JMP 0000H ; 11 000 011 ; 00 000 000 ; 00 000 000
- Turn on the computer.
- Set switches A7 - A0 to 00 111 010 (up for 1, down for 0).
- Click "DEPOSIT".
- Set switches A7 - A0 to 10 000 000.
- Click "DEPOSIT NEXT".
- Repeat step 4-5 to input the following bytes one by one: 00 000 000, 01 000 111, 00 111 010, 10 000 001, 00 000 000, 10 000 000, 00 110 010, 10 000 010, 00 000 000, 11 000 011, 00 000 000, 00 000 000.
- Set switches A7 - A0 to 10 000 000.
- Click "EXAMINE"
- Set switches A7 - A0 to 00 000 001 (the first number to be added, or 1 in decimal).
- Click "DEPOSIT".
- Set switches A7 - A0 to 00 000 010 (the second number to be added, or 2 in decimal).
- Click "DEPOSIT NEXT".
- Click "RESET".
- Click "RUN" and wait for a few seconds.
- Click "STOP".
- Set switches A7 - A0 to 10 000 010 (the address that holds the sum).
- Click "EXAMINE"
- The LEDs D7 - D0 show the result 00 000 011 (3 in decimal).
- Turn off the computer.