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
a In this case subtraction would be performed by complementing the value to be subtra... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
1806_60b8c1213eb1c_721413.pdf
180 KBs PDF File
1806_60b8c1213eb1c_721413.docx
120 KBs Word File
