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. Th 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. ) Draw two block diagrams of the memory to represent the status of the above instruction before and after execution phase; ) 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 I-0 1-1 Description 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 return address Increment and skip if sero AND ADD LDA STA BUN BSA ISZ lxx x Sxx Dx Exxx CLA 7800 Clear AC

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter4: Processor Technology And Architecture
Section: Chapter Questions
Problem 2PE: If a microprocessor has a cycle time of 0.5 nanoseconds, what’s the processor clock rate? If the...
icon
Related questions
Question
Please answer b
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
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Fundamentals of Input and Output Performance
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning