Back to the 2023 paper

Module 3: Instruction Set and Programming

20232m

JP instruction in 8085 performs branch if:
(i) Carry flag is 1
(ii) Parity flag is 1
(iii) Sign flag is 0
(iv) Auxiliary carry flag is 0

Worked SolutionAI Assisted

Answer: (iii) Sign flag is 0

Explanation: In 8085, JP = Jump if Plus (positive) - branches when Sign flag S = 0 (result positive, MSB =0). JM jumps if S=1 (minus). JZ/JNZ test Zero, JC/JNC test Carry, JP/JM test Sign, JPE/JPO test Parity. JP specifically: if S=0 then PC←address. So option (iii) Sign flag 0.

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.