
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
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
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Best Of Luck Page # 1 of 1
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.