Instruction set _________________________________________________________ Every instruction consists of 16 bits. The instruction itself and an operand (Op). ------------------------------------------------------------ operation (5-7) | Bus (3-4) | Register (1-2) | Address (0) | ------------------------------------------------------------ Load (000) | Mem (00) | PP (00) | Op (0) | And (001) | Op (01) | MP (01) | X (1) | Or (010) | In (10) | Acc (10) | | Xor (011) | Acc (11) | X (11) | | Add (100) | | | | Sub (101) | | | | | |----------------| | Store (110) | | | | |-----------|-----|----------| | | Condition (2-4) | | | |-----------------| | | Jmp (111) | Alw (000) | | | | Grt (001) | | | | Geq (010) | | | | Eq (011) | | | | Lst (100) | | | | Leq (101) | | | | Cry (110) | | | | Neq (111) | | | |-----------------| |-------------| Abbreviatons: Sub Subtract Jmp Jump Mem Memory Op Operand In Input Acc Accumulator Alw Always grt Greater then zero geq Greater or equal to zero eq Equal to zero lst Less then zero leq Less or equal to zero cry Carry PP Program Page MP Memmory Page Out Output