Instruction code Status Branch MUX Multiplexer bits select Control address register Control memory (ROM) Microinstruction Branch Branch Selectionaddress Control Data register select a status bit Microoperations Branch address 02 Demonstrate a direct mapping procedure to map an opcode into a corresponding microinstruction address considering the following a. b. c d. The opcode has 5 bits The mapping should accommodate for routines with upto 8 consecutive microinstructions each The control memory size is 512 words T he routines corresponding to various opcodes are to be placed in the second half of the control memory (i.e., starting on memory word 256 and onwards)
Explanation / Answer
#include #include #include #include #include #include using namespace std; int main(){ int choose; int choose2; int c1, c2, c3, c4; int g1, g2, g3, g4; //int D; //bool menu = true; MenuOne: cout