[Solved]Task 1 6 Marks Suppose Hypothetical Machine Portrayed Figures 13 14 Textbook Altered Provi Q37196852
Task 1 [6 marks]

Suppose the hypothetical machine portrayed in Figures 1.3 and1.4 of the textbook is altered to provide a small set of registersinstead of an accumulator. Instruction length is maintained at 16bits, but the instructions are redesigned as follows:
0001 xxyy yyyy yyyy Load register xx from memory address yy yyyyyyyy
0010 xxyy yyyy yyyy Store register xx to memory address yy yyyyyyyy
0011 xxyy zz00 0000 Add the contents of registers xx and yy,placing the result in register zz
You may assume that the size of both a register and a memorylocation is 16 bits.
1. What is the range of memory addresses for this hypotheticalmachine?
2. Explain why it is appropriate to design an instruction setwith 2 bits allocated for the register number and 10 bits allocatedfor the memory address.
3. How might the presence of cache change the explanation youhave just given?
4. Design a sequence of instructions that will add the contentsof memory locations 0x020 and 0x028, storing the result at0x100
Expert Answer
Answer to Task 1 [6 marks] Suppose the hypothetical machine portrayed in Figures 1.3 and 1.4 of the textbook is altered to provide… . . .
OR

