TD4 CPU Assembler

Online DIP switch programming utility

Assembly Source
0 lines
ADD A, Im0000 xxxx
MOV A, B0001 0000
IN A0010 0000
MOV A, Im0011 xxxx
MOV B, A0100 0000
ADD B, Im0101 xxxx
IN B0110 0000
MOV B, Im0111 xxxx
OUT B1001 0000
OUT Im1011 xxxx
JNC Im1110 xxxx
JMP Im1111 xxxx
Im = 4-bit immediate (decimal 0–15 or binary 0000–1111) · DIP switch order: bit0 → bit7 (left to right)
1

⚠ Assembly Errors

DIP Switch ROM 0 / 16 instructions
Enter assembly code above to generate DIP switch positions
Legend:
ON (switch up = 1)
OFF (switch down = 0)
Hover row to reveal bit values