Design an instruction set for a [login to view URL] 8-bit instructions set for a CPU which operates on 12-bit signed numbers. Your computer system will consist of CPU, BUS, and MAIN MEMORY.
You are asked to 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.
Make and state any necessary assumptions and explain all the design decisions.
In your report, include following points:
-width of instructions (will be given in LMS for each group)
-Word size
-Bus width
-List of registers in CPU (user-accessible and inaccessible) and their sizes
-Instruction formats: structure of instruction, explanation on 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
You are free to design your instructions, computer systems as you want, however, you are required to explain each detail.