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...
icon
Related questions
Question
Let us consider a memory that includes two instructions. First instruction is located at memory
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, an
operation code 100, an address 160. The subroutine starts at memory location 161 and the content
of PC is equal to 046.
a) Draw two block diagrams of the memory to represent the status of the above instructions
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 1-0 I-1
Description
AND
ADD
LDA
STA
BUN
BSA
ISZ
AND memory word to AC
Add memory word to AC
Load memory word to AC
Store content of AC in memory
Branch unconditionally
Branch and save return address
Increment and skip if zero
Axx
Sxx
Dx
Exx
7800
CLA
CLE
CMA
CME
CIR
CIL
INC
SPA
SNA
SZA
SZE
HLT
Clear AC
7400
Clear E
Complement AC
Complement E
Circulate right AC and E
Circulate left AC and E
7200
7100
7080
7040
7020
7010
7008
7004
7002
7001
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
Input character to AC
Output character from AC
Skip on input flag
Skip on output flag
Interrupt on
Interrupt off
INP
FR00
OUT
F400
SKI
SKO
ION
IOF
F200
F100
FO80
F040
Transcribed Image Text:Let us consider a memory that includes two instructions. First instruction is located at memory 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, an operation code 100, an address 160. The subroutine starts at memory location 161 and the content of PC is equal to 046. a) Draw two block diagrams of the memory to represent the status of the above instructions 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 1-0 I-1 Description AND ADD LDA STA BUN BSA ISZ AND memory word to AC Add memory word to AC Load memory word to AC Store content of AC in memory Branch unconditionally Branch and save return address Increment and skip if zero Axx Sxx Dx Exx 7800 CLA CLE CMA CME CIR CIL INC SPA SNA SZA SZE HLT Clear AC 7400 Clear E Complement AC Complement E Circulate right AC and E Circulate left AC and E 7200 7100 7080 7040 7020 7010 7008 7004 7002 7001 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 Input character to AC Output character from AC Skip on input flag Skip on output flag Interrupt on Interrupt off INP FR00 OUT F400 SKI SKO ION IOF F200 F100 FO80 F040
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
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 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)
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
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY