Open In App

GATE | GATE-CS-2002 | Question 23

Like Article
Like
Save
Share
Report

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


Answer: (D)

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


Last Updated : 28 Jun, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads