Memory-Assembly Language, Microprocessors and Computer Architecture-Quiz, Exercises of Computer Architecture and Organization

Assembly language is about computer basic operations. Its used in Computer Architecture. It also being used in Microprocessors. This quiz was taken by Prof. Vishakha Ahuja at Guru Ghasidas University. It includes: Microprocessor, Architecture, Hypothetical, Execution, Memory, Bits, Processors, Cycle, Load, Subtract, Store

Typology: Exercises

2011/2012

Uploaded on 08/03/2012

amritkala
amritkala 🇮🇳

4.4

(17)

91 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Best Of Luck
Page # 1 of 1
Quiz No. 1 (Spring- 2010)
B.Sc. Electrical Engineering
Microprocessor and Computer Architecture (EE 2202)
Section B
Time Allowed: 15 mins Student’s Name: _____________
Max Marks : 15 Roll No. : _____________
Question # 01: Consider a hypothetical machine having PC (Program Counter), IR
(Instruction Register and AC (Accumulator). The processor has 16-bits instruction
(4-bits for opcode and 12-bits for address). A sub set of instruction is as under:
0101 = Subtract Memory from AC
0011 = Load AC from memory
0111 = Store AC to memory
Show execution of following segment of program by showing the values in the PC,
IR, AC, and Memory for each machine cycle? Starting instruction memory address
is 300.
Load AC from Memory location 400 (value stored is 0009).
Subtract contents of memory location 700 (value stored is 0004).
Store AC to memory location 600.
docsity.com

Partial preview of the text

Download Memory-Assembly Language, Microprocessors and Computer Architecture-Quiz and more Exercises Computer Architecture and Organization in PDF only on Docsity!

Best Of Luck Page # 1 of 1

Quiz No. 1 (Spring- 2010)

B.Sc. Electrical Engineering

Microprocessor and Computer Architecture (EE 2202)

Section B

Time Allowed: 15 mins Student’s Name: _____________ Max Marks : 15 Roll No. : _____________

Question # 01: Consider a hypothetical machine having PC (Program Counter), IR (Instruction Register and AC (Accumulator). The processor has 16-bits instruction (4-bits for opcode and 12-bits for address). A sub set of instruction is as under:

0101 = Subtract Memory from AC 0011 = Load AC from memory 0111 = Store AC to memory

Show execution of following segment of program by showing the values in the PC, IR, AC, and Memory for each machine cycle? Starting instruction memory address is 300.

Load AC from Memory location 400 (value stored is 0009). Subtract contents of memory location 700 (value stored is 0004). Store AC to memory location 600.

docsity.com