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

AI LearningWeb Platform

Coursify — Personal AI Course Generator

Struggling with a difficult subject or concept? Turn any engineering topic into a structured course with interactive lessons, quizzes, and research-backed explanations.