Back to the 2025 paper

Module 3: Instruction Set and Programming

20252m

Which instruction decrements and jumps if not zero?

(i) DJNZ
(ii) AJMP
(iii) CJNE
(iv) NOP

Worked SolutionAI Assisted

Answer: (i) DJNZ

Explanation: DJNZ = Decrement and Jump if Not Zero: DJNZ direct/Reg, rel → decrement operand; if result ≠0 jump. AJMP is absolute jump, CJNE is compare and jump if not equal, NOP is no operation.

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.