Answered step by step
Verified Expert Solution
Question
1 Approved Answer
5-13.Assume that the first six memory-reference instructions in the basic com- puter listed in Table 5-4 are to be changed to the instructions specified in
5-13.Assume that the first six memory-reference instructions in the basic com- puter listed in Table 5-4 are to be changed to the instructions specified in the following table. EA is the effective address that resides in AR during time Assume that the adder and logic circuit in Fig. 5-4 can perform the exclusive-OR operation ACACDR. Assume further that the adder and logic circuit cannot perform subtraction directly. The subtraction must be done using the 2's complement of the subtrahend by complementing and incrementing AC. Give the sequence of register transfer statements needed to execute each of the listed instructions starting from timing T* Note that the value in AC should not change unless the instruction specifies a change in its content. You can use TR to store the content of AC temporary or you can exchange DR and AC. Symbol OpcodeSymbolic designation Description in words XOR ADM SUB XCH SEQ 000 001 010 011 100 ACACMEA] MEA-MEA + AC ACAC-MEA ACMEA,MEA-AC Exclusive-OR to AC Add AC to memory Subtract memory from AC Exchange AC and memory Skip on equal If (M[EA]-AC) then (PC-PC + 1) If (AC > 0) then (PC EA) BPA 101 Branch if AC positive and non-zero 5-13.Assume that the first six memory-reference instructions in the basic com- puter listed in Table 5-4 are to be changed to the instructions specified in the following table. EA is the effective address that resides in AR during time Assume that the adder and logic circuit in Fig. 5-4 can perform the exclusive-OR operation ACACDR. Assume further that the adder and logic circuit cannot perform subtraction directly. The subtraction must be done using the 2's complement of the subtrahend by complementing and incrementing AC. Give the sequence of register transfer statements needed to execute each of the listed instructions starting from timing T* Note that the value in AC should not change unless the instruction specifies a change in its content. You can use TR to store the content of AC temporary or you can exchange DR and AC. Symbol OpcodeSymbolic designation Description in words XOR ADM SUB XCH SEQ 000 001 010 011 100 ACACMEA] MEA-MEA + AC ACAC-MEA ACMEA,MEA-AC Exclusive-OR to AC Add AC to memory Subtract memory from AC Exchange AC and memory Skip on equal If (M[EA]-AC) then (PC-PC + 1) If (AC > 0) then (PC EA) BPA 101 Branch if AC positive and non-zero
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started