Back to main page

 The 8-bit Turbonator IDE

(Editor, emulator, and compiler)

Commands
CommandParametersDescription
NOOPDo nothing
LDAMemory address [0-4095]Load RAM content to register A
STAMemory address [0-4095]Store Register A to RAM
LDABUpper 4 bits of memory address [0-15]Load lower 8 bits of memory address from register B and load RAM content to register A
STABUpper 4 bits of memory address [0-15]Load lower 8 bits of memory address from register B and store register A to RAM
LDIAValue [0-255]Load Value to register A
CALC0Function [0-15]Calculate with low carry in bit
CALC1Function [0-15]Calculate with high carry in bit
JCFunction [0-15], Memory address [0-255]Jump to program line if calculation with low carry in bit yields high carry out bit. Use "JC 3" for unconditional jumps. "JC 6" jumps if A<=B.
JCCFunction [0-15], Memory address [0-255]Jump to program line if calculation with high carry in bit yields high carry out bit. "JCC 6" jumps if A<B.
OUTDisplay content of register A
AtoBCopy register A to register B
IOACTIO device ID [0-15]Activate IO device matching id, deactivate all others
IOREADReads IO data from active IO device into memory address stored in register A and overwrites register A with IO data
IOWRITEWrite data from memory address stored in Register A to active IO device
HALTHalt computer
ALU functions
IDCALC0 / JCCALC1 / JCC
0AA plus 1
1A + B(A + B) plus 1
2A + B_(A + B_) plus 1
3minus 1Zero
4A plus AB_A plus AB_ plus 1
5(A + B) plus AB_(A + B) plus AB_ plus 1
6A minus B minus 1A minus B
7AB_ minus 1AB_
8A plus ABA plus AB plus 1
9A plus BA plus B plus 1
10(A + B_) plus AB(A + B_) plus AB plus 1
11AB minus 1AB
12A plus AA plus A plus 1
13(A + B) plus A(A + B) plus A plus 1
14(A+ B_) plus A(A + B_) plus A plus 1
15A minus 1A

Where A+B is a bitwise OR, AB is a bitwise AND and A_ is the complement of A. Taken from the HCF40181B datasheet.

Input:
Compiled:
Copy/Paste to EEPROM writer:
(Halts after 10.000 cycles)
IO 0 Mock
IO 1 Mock
IO 2 Mock
IO 3 Mock
IO 4 Mock
IO 5 Mock
IO 6 Mock
IO 7 Mock
IO 8 Mock
IO 9 Mock
IO 10 Mock
IO 11 Mock
IO 12 Mock
IO 13 Mock
IO 14 Mock
IO 15 Mock

Output: