While executing a program, when the 8085 mpu complees the fetching of machine code located aat the memory addresss 2057h , what is the content of program counter?
Answers
Answered by
11
Program Counter(PC) points to the address of next instruction to be fetched.
Here JMP 2050 is at location 2057.
This means,
JMP will be at 2057 (8 bit instruction)
20 will be at 2058
50 will be at 2059
The next instruction will be at 205AH.
It is not 2050 because only after execution phase the processor will decide whether to take the jump or not. PC will be set long before the execution of previous instruction. So only after the execution phase of JMP 2050 it will save current PC and load the new value of 2050.
Here JMP 2050 is at location 2057.
This means,
JMP will be at 2057 (8 bit instruction)
20 will be at 2058
50 will be at 2059
The next instruction will be at 205AH.
It is not 2050 because only after execution phase the processor will decide whether to take the jump or not. PC will be set long before the execution of previous instruction. So only after the execution phase of JMP 2050 it will save current PC and load the new value of 2050.
Similar questions
Math,
8 months ago
Business Studies,
1 year ago
Biology,
1 year ago
Hindi,
1 year ago
Hindi,
1 year ago