Question: How to answer? Each complex task performed by a computer needs to be divided into a series of simpler tasks and a binary machine instruction
Each complex task performed by a computer needs to be divided into a series of simpler tasks and a binary machine instruction is required for the most primitive tasks. Consider a task that adds three numbers that are held in memory locations designated by B, C, and D and stores the result in a memory location designated by A. A = B + C + D (a) By using assembly instructions, split the above equation into a series of simpler steps. Explain each of the assembly instruction. Assume Register R2 will be used. (b) Each of the above instructions needs to be encoded into binary form to be executed by the CPU. i. ROY1 is hypothetical architecture. Discuss its architecture, instruction format and memory placement. ii. Use ROY1 architecture to encode each of the instruction in (a). Assume addresses 200H, 201H, 202H and 203H for A, B, C, and D
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
