GATE | GATE-CS-2002 | Question 23
In 8085, which of the following modifies the program counter ?
(A) Only PCHL instruction
(B) Only ADD instructions
(C) Only JMP and CALL instructions
(D) All instructions
Explanation: Program counter is the register which has the next location of the program to be executed next. JMP & CALL changes the value of PC. PCHL instruction copies content of registers H & L to PC. ADD instruction after completion increments program counter. So program counter is modified in all
cases. Hence (D) is correct option.
Quiz of this Question
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.