Question: Suppose we have a need to handle both negative and positive data beyond the simple test in the various conditional branch instructions. One way to

Suppose we have a need to handle both negative and positive data beyond the simple test in the various conditional branch instructions. One way to do this would be to replace the subtract instruction with a 10’s complement instruction. The COMP instruction complements the value in the calculator and leaves the value in the calculator.

a. How would subtraction be performed in this case?

b. Carefully trace the steps that the Little Man would perform to execute the new COMP instruction.

c. What is the new range of values possible with this modification, and how are these values represented in the Little Man Computer?

d. What would the Little Man do to execute a BRANCH ON POSITIVE instruction?

Step by Step Solution

3.53 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a In this case subtraction would be performed by complementing the value to be subtra... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (2 attachments)

PDF file Icon

1806_60b8c1213eb1c_721413.pdf

180 KBs PDF File

Word file Icon

1806_60b8c1213eb1c_721413.docx

120 KBs Word File

Students Have Also Explored These Related Computer Architecture Questions!