Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Specially diagram QUESTION 3 Let us consider a memory that includes two instructions. First instruction is located at memory address 045 that includes an address

Specially diagramimage text in transcribed

QUESTION 3 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 the 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; (3 Marks) b) State the relationship between two instructions mentioned. (3 Marks) LDA Hints: You can refer to Table 1. Table 1: Basic Computer Instructions Hexadecimal code Symbol 1-0 1-1 Description AND Oxxx 8xxx AND memory word to AC ADD 1xxx 9xxx Add memory word to AC 2xxx Axxx Load memory word to AC STA 3xxx Bxxx Store content of AC in memory BUN 4xxx Cxxx Branch unconditionally BSA 5xxx Dxxx Branch and save return address ISZ 6XXX Exxx Increment and skip if zero CLA 7800 Clear AC CLE 7400 Clear E CMA 7200 Complement AC CME 7100 Complement E CIR 7080 Circulate night AC and E CIL 7040 Circulate left AC and E INC 7020 Increment AC SPA 7010 Skip next instruction if AC positive SNA 7008 Skip next instruction if AC negative SZA 7004 Skip next instruction if AC zero SZE 7002 Skip next instruction if Eis 0 HLT 7001 Halt computer INP F800 Input character to AC OUT F400 Output character from AC SKI F200 Skip on input flag SKO F100 Skip on output flag ION F080 Interrupt on IOF F040 Interrupt off

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions

Question

5. Arranging for the training facility and room.

Answered: 1 week ago

Question

1. Discuss the five types of learner outcomes.

Answered: 1 week ago