Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 twos 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:

i. Load the memory address of the subtrahend ii. PC points to the next instruction iii. Load the subtrahend from memory iv. Load the subtrahend into accumulator for twos complement v. Perform twos complement on the subtrahend, store the results in the accumulator. vi. Add subtrahend and minuend, store the results in register Z.

List the micro-operations your control unit must perform to cause a subtraction.

image text in transcribed

Cai tr IN PCS Address tines MAR Data lines MER Internal CPUs ALU Star

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Automating Access Databases With Macros

Authors: Fish Davis

1st Edition

1797816349, 978-1797816340

Students also viewed these Databases questions

Question

Why do HCMSs exist? Do they change over time?

Answered: 1 week ago