Question: Answer quickly as soon as possible QUESTION 3 Let us consider a memory that includes two instructions. First instruction is located at memory address 045

Answer quickly as soon as possibleAnswer quickly as soon as possible QUESTION 3 Let us consider a

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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!