retagged by
318 views

2 Answers

0 votes
0 votes
Program Counter holds the address of the next instruction to be fetched . Hence, size of the operand is not considered in this calculation. I am 80% sure about this reason of mine. Someone please correct if I am wrong.
0 votes
0 votes
From opcode size, they just wanted to convey the no of words required in memory to store that particular instruction.

Depending upon the size of the operands, each opcode demands its own amount of memory while storing the instruction in memory.

Since here first instruction needs 3 words so it is allocated accordingly, 3*4 bytes=12 bytes

Similarly, all the way down to "Halt" we need a total of (3+3+1+1+1+4+1)14 words in memory to accommodate this piece of code.

And so the memory addresses will get along and add up more 14*4=56 bytes in initial memory address i.e 1500.Since program counter stores memory address of next instruction to be executed, we'll have next instruction at 1500+56=1556.

Related questions

171
views
0 answers
0 votes
mehul vaidya asked Mar 30, 2018
171 views
i think minimum mantisa is 2^-20 and not .5
188
views
0 answers
0 votes
Prateek Yadav 2 asked Dec 28, 2016
188 views
578
views
0 answers
1 votes
Gate Fever asked Oct 8, 2018
578 views
I KNOW THAT SIZE OF MUX WOULD BE 16:1BUT AM NOT ABLE TO UNDERSTAND WHY THERE ARE 32 SUCH MUX??
317
views
0 answers
0 votes
Gate Fever asked Oct 8, 2018
317 views