Question: b) Your ALU can add its two input registers, and it can logically complement the bits of either input register, but it cannot subtract. Numbers

b) Your ALU can add its two input registers, and it can logically complement the bits of either input register, but it cannot subtract. Numbers are to be stored in two's complement representation. Based on the bus structure given below, assumed that the minuend is stored in Y and the subtrahend needs to be fetched from memory and loaded into MBR. The steps are as follows: Load the memory address of the subtrahend ii. PC points to the next instruction Load the subtrahend from memory iv. Load the subtrahend into accumulator for two's complement v. Perform two's complement on the subtrahend, store the results in the accumulator. Add subtrahend and minuend, store the results in register Z. List the micro-operations your control unit must perform to cause a subtraction. (5 marks] vi. Citro SIR PC Address Ines MAR lines MER Internal Club AC ALU 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
