Let us consider a memory that includes two instructions. First instruction is located at memors address 045 that includes an address mode bit 0, an operation code 101, an address 160. The second instruction is located at the end of a subroutine that includes an address mode bit 1, a operation code 100, an address 160. The subroutine starts at memory location 161 and the conten of PC is equal to 046. a) Draw two block diagrams of the memory to represent the status of the above instruction before and after execution phase; b) List the instructions mentioned above and state the relationship between them. Hints: You can refer Table 1. Table 1: Basic Computer Instructions Hexadecimal code Symbol -0 I -1 Deseription AND ADD LDA STA BUN BSA ISZ AND memory word to AC Add memory word to AC Axx Load memory word to AC Store content of AC in memory Branch unconditionally Branch and save returm address Increment and skip it zero EXX CLA CLE CMA CME CIR CIL INC SPA SNA SZA SZE 7800 7400 7200 7100 7080 7040 7020 7010 7008 7004 7002 7001 Clear AC ClearE Complement AC Complement E Crculate right AC and E Crculate left AC and E Increment AC Skip next instruction if AC positive Skip next instruction if AC negative Skip next instruction if AC zero Skip next instruction if E is 0 Halt computer HLT INP OUT SKI SKO FR00 F400 F200 FI00 PO0 FO40 Input character to AC Output character from AC Skip on input flag Skip on output flag Interrupt en Interrupt off ION IOF
Let us consider a memory that includes two instructions. First instruction is located at memors address 045 that includes an address mode bit 0, an operation code 101, an address 160. The second instruction is located at the end of a subroutine that includes an address mode bit 1, a operation code 100, an address 160. The subroutine starts at memory location 161 and the conten of PC is equal to 046. a) Draw two block diagrams of the memory to represent the status of the above instruction before and after execution phase; b) List the instructions mentioned above and state the relationship between them. Hints: You can refer Table 1. Table 1: Basic Computer Instructions Hexadecimal code Symbol -0 I -1 Deseription AND ADD LDA STA BUN BSA ISZ AND memory word to AC Add memory word to AC Axx Load memory word to AC Store content of AC in memory Branch unconditionally Branch and save returm address Increment and skip it zero EXX CLA CLE CMA CME CIR CIL INC SPA SNA SZA SZE 7800 7400 7200 7100 7080 7040 7020 7010 7008 7004 7002 7001 Clear AC ClearE Complement AC Complement E Crculate right AC and E Crculate left AC and E Increment AC Skip next instruction if AC positive Skip next instruction if AC negative Skip next instruction if AC zero Skip next instruction if E is 0 Halt computer HLT INP OUT SKI SKO FR00 F400 F200 FI00 PO0 FO40 Input character to AC Output character from AC Skip on input flag Skip on output flag Interrupt en Interrupt off ION IOF
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY