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

 Let us consider a memory that includes two instructions. First instruction

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) 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 LDA 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 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 right 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 o 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 justify the QUESTION 4 a) Processing multiple processes simultaneously utilizes computer resources statement in terms of uniprocessor and multiprocessor, b) Compare between parallel and pipeline processing

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!