

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!


You are not allowed to ask any questions. In case of any confusion, state an appropriate assumption. Hand writing must be legible. Good Luck! Question 1. Give brief answers (not more than 4 lines) [2x5 = 10 Marks]
Question 2: Following table A shows code of a microprocessor (MP) and table B shows some data values: [5x5 = 25 Marks]
No. Address (hex) Instruction Machine Code (hex)
Comments
1 A188DDDD LOAD (1234A10D) F 1234A10D AC F 0 D Fcontents of location 1234A10D
2 A189DDDE ADD (1234B10D) 0 1234B10D AC F 0 D FAC + contents of 1234B10D
3 A18ADDDF JUMP D188DDDD E D188DDD PC F 0 D FD188DDDD
4 D188DDDD SUB (1234E10D) 1 1234E10D AC F 0 D FAC โ contents of 1234E10D
5 D189DDDE JUMP A188DDDD E A188DDD PC F 0 D FA188DDDD
Address (Hex)
Data (Hex)
(since no memory access in instruction, so we will consider the values updated during instruction fetch, i.e, MAR<-PC )