Top | FAQ | Buy |
FullTr-11 Instructions
MOV A, im | Move immediate value im to A register |
MOV B, im | Move immediate value im to B register |
MOV C, im | Move immediate value im to C register |
MOV A, [im] | Move the data stored in RAM with address im to A register |
MOV B, [im] | Move the data stored in RAM with address im to B register |
MOV C, [im] | Move the data stored in RAM with address im to C register |
MOV [im], A | Write the value of A register to RAM with address im |
MOV [im], C | Write the value of C register to RAM with address im |
ADD A, B | A=A+B: Calculate A+B and move it to A register |
ADD C, im | C=C+im: Calculate C+im and move it to C register |
SUB | A=A-B: Calculate A-B and move it to A register |
JMP im | Jump to the address im of ROM |
JMP [im] | Jump to the ROM address of the data stored in RAM with address im |
JNC im | Jump to the address im of ROM if there is no carry in the previous instruction |
FullTr-11 is based on the Harvard architecture just like PIC.
The address space of RAM and ROM is separated. All the programs are stored in ROM.
Opcode length is 5-bit. Since the opcode is prepended to the 11-bit operand, the total length of instruction is 16 bit.
ROM is made of 1024 switches. It can hold 64 instructions.
RAM size is 44 bits i.e. 4*11-bit.
Since the address bus size of ROM and RAM is 11-bit, they can be extended up to 2.75 Kbytes in principle.
An assembler software is available to output the machine code from the mnemonics above. The output binary machine code is written in ascii text with 0 and 1. You enter these to the switches.