4,366 views
5 votes
5 votes
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...

2 Answers

2 votes
2 votes

.......

0 votes
0 votes
1) 733

2) 111

3) 111

4) 220

5) 155

6) 331

7) 224

8) 845

9) 331

Related questions

0 votes
0 votes
1 answer
1
lea asked Jun 12, 2023
290 views
0 votes
0 votes
1 answer
2
Aaryan_Sharma asked Dec 30, 2022
369 views
When we write MOV #1000 , it means we are writing the value 1000 into the accumulator. But when we write MOV 1000 here 1000 refers to address of what ? register or MM ? (...
2 votes
2 votes
1 answer
3
Subbu. asked Jul 14, 2022
495 views
Could you please explain How we can implement indirect addressing mode using Index addressing mode.. and vice versa..??