+----------+----+-------+
Operation: TOS = x
+
Indicators: None
+
Description: Pushes bits 30-0 on to TOS after left shift by one position and
padding with zero bit.
+----------+---+---+---+---+---+---+
Operation: TOS = x
+
Indicators: None
+
Description: Pushes bits 4-0 on to TOS while padding bits 31-5 with zeroes.
--------------------------------------------------------------------------------
+----------+---+---+---+---+---+---+
Operation: TOS = TOS[x]
+
Indicators: Sets PSW_N and PSW_Z flags.
+
Description: Pushes a copy of the x'th entry on the stack to the TOS. Indexing
begins at 0. Thus, LDSP+0 duplicates the top stack entry and
LDSP+1 pushes a copy of the NOS to the TOS.
+----------+---+---+---+---+---+---+
Operation: TOS[x] = TOS
+
Indicators: None
+
Description: Pops TOS and stores it x positions deep, overwriting the
pre-existing stack entry. Indexing begins at 0 and is counted
after popping the TOS. Thus, STSP+0 deletes the NOS, equivalent
+----------+---+---+---+---+---+---+
Operation: TOS = TOS ^ NOS
+
Indicators: Sets PSW_N and PSW_Z flags.
+
Description: Pops TOS and NOS, performs bitwise Boolean AND and pushes result
to TOS.
+----------+---+---+---+---+---+---+
Operation: TOS = TOS V NOS
+
Indicators: Sets PSW_N and PSW_Z flags.
+
Description: Pops TOS and NOS, performs bitwise Boolean OR and pushes result
to TOS.
+----------+---+---+---+---+---+---+
Operation: TOS = ~TOS
+
Indicators: Sets PSW_N and PSW_Z flags.
+
Description: Pops TOS, performs bitwise Boolean NOT and pushes result to TOS.
--------------------------------------------------------------------------------
+----------+---+---+---+---+---+---+
Operation: TOS = TOS >< NOS
+
Indicators: Sets PSW_N and PSW_Z flags.
+
Description: Pops TOS and NOS, performs bitwise Boolean XOR and pushes result
to TOS.
+----------+---+---+---+---+---+---+
Operation: TOS = TOS + NOS
+
Indicators: Sets PSW_N and PSW_Z flags.
+
Description: Pops TOS and NOS, performs signed, twos-complement addition and
pushes result to TOS.
+----------+---+---+---+---+---+---+
Operation: TOS = NOS; NOS = TOS
+
Indicators: Sets PSW_N and PSW_Z flags.
+
Description: Swaps the TOS and NOS entries on the stack. Sets PSW flags based
on new TOS entry.
+----------+---+---+---+---+---+---+
Operation: PC = TOS
+
Indicators: None
+
Description: Pops TOS and loads value in to PC, overwriting existing PC. Resets
SC to zero.
+----------+---+---+---+---+---+---+
Operation: SID = TOS
+
Indicators: None
+
Description: Pops TOS and loads value in to SID, overwriting existing SID.
--------------------------------------------------------------------------------
+----------+---+---+---+---+---+---+
Operation: TOS = NOS (<< or >>) TOS
+
Indicators: Sets PSW_N and PSW_Z flags.
+
Description: Pops TOS and NOS, shifts NOS according to TOS and pushes back to
TOS. Direction of shift is left if bit 31 of TOS is set, otherwise
shift is right. Magnitude of shift is controlled by bits 30-0 of
+----------+---+---+---+---+---+---+
Operation:
+
Indicators:
+
Description: Not yet implemented.
--------------------------------------------------------------------------------
+----------+---+---+---+---+---+---+
Operation: None
+
Indicators: Sets PSW_N and PSW_Z flags.
+
Description: Pops TOS and sets PSW flags accordingly.
--------------------------------------------------------------------------------
+----------+---+---+---+---+---+---+
Operation: PC = TOS if NOS = 0
+
Indicators: None
+
Description: Pops TOS and NOS. If NOS = 0, loads TOS value in to PC.
--------------------------------------------------------------------------------
+----------+---+---+---+---+---+---+
Operation: TOS = (TOS)
+
Indicators: Sets PSW_N and PSW_Z flags.
+
Description: Pops TOS, treating it as a pointer in to RAM and pushing the
corresponding value from RAM on to TOS.
+----------+---+---+---+---+---+---+
Operation: (TOS) = NOS
+
Indicators: None
+
Description: Pops TOS and NOS, treating TOS as a pointer in to RAM and storing
NOS at that address.
+----------+---+---+---+---+---+---+
Operation: None
+
Indicators: None
+
Description: Does nothing for one CPU cycle.
--------------------------------------------------------------------------------
+----------+---+---+---+---+---+---+
Operation: None
+
Indicators: None
+
Description: Halts the CPU.