retagged by
303 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

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