The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+3 votes
435 views
Consider a 16 bit hypothetical process which support 1 word instruction , instruction contain 8 bit opcode ,and address field , instruction is stored in the memory with the starting address of 732, decimal on words . Processor contain 1 register that is r0 ,r0 contain 220, address field of instruction contain 111, memory contain 111 is 155. Calculate the effective address where the instruction is designed with

1) immediate

2) register

3) direct Am

4) register indirect addressing mode

5) memory indirect Am

6) indexed Am (ro as index reg)

7) 3 auto increment ro as base register

8) pc relative address mode

9) base relative address mode ro as base register .

Explain each ans...
asked in CO and Architecture by Active (3.6k points) | 435 views

2 Answers

0 votes
1) 733

2) 111

3) 111

4) 220

5) 155

6) 331

7) 224

8) 845

9) 331
answered by (75 points)
0
i think in 7th one answer should be 223
0
How come 1 and 2? There is no EA calculation for immediate and register mode. EA calculation starts from no. 3 onwards. Please correct me if I am wrong.
0 votes

.......

answered by Boss (34.1k points)

Related questions

+1 vote
2 answers
5
asked May 10, 2018 in CO and Architecture by Sanjay Sharma Boss (48.1k points) | 183 views
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,808 questions
54,481 answers
188,249 comments
74,526 users