5-13. Assume that the first six memory-reference instructions in the basic com- puter listed in Table 5-4 are to be chan

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

5-13. Assume that the first six memory-reference instructions in the basic com- puter listed in Table 5-4 are to be chan

Post by answerhappygod »

5 13 Assume That The First Six Memory Reference Instructions In The Basic Com Puter Listed In Table 5 4 Are To Be Chan 1
5 13 Assume That The First Six Memory Reference Instructions In The Basic Com Puter Listed In Table 5 4 Are To Be Chan 1 (134.79 KiB) Viewed 24 times
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 T₁. Assume that the adder and logic circuit in Fig. 5-4 can perform the exclusive-OR operation AC AC DR. 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 T4. 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 Opcode Symbolic designation XOR ADM 000 AC ACOM[EA] 001 M[EA] M[EA] + AC 010 AC ACM[EA] 011 100 SUB XCH SEQ BPA 101 AC M[EA], M[EA] AC If (M[EA] = AC) then (PC PC + 1) If (AC > 0) then (PC+EA) Description in words Exclusive-OR to AC Add AC to memory Subtract memory from AC Exchange AC and memory Skip on equal Branch if AC positive and non-zero
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply