Design 13-bit instructions set for a CPU which operates on 16-bit signed numbers.
Design a computer system which will be able to process:
-Arithmetic operations: Addition, Subtraction, Multiplication (on data which might be on registers or main memory)
-Logical operations: You will need to decide which logical operations you will need.
-Branch operations: You will need to decide which branch operations you will need.
-And any other need operations.
You must include following points:
-Width of instructions (given in project name)
-Word size
-Bus width
-List of registers in CPU (user-accessible and inaccessible) and their sizes
-Instruction formats: structure of instruction, explanation why you have selected certain instructions and which registers can be used with that instruction.
-Binary code for each opcode.
-Which addressing modes will be supported
-Which flags will be included
-A sample program