
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
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.