SarkariResultOutPYQ
EasyAdditional Assistant Engineer (Electrical)2026✓ Editorially verified
PDF

CPL Bit Instruction

The instruction CPL P1.5 in the 8051 microcontroller performs which action?
⚑ Report issue

Found a wrong answer, translation, image or source problem? Send it to editorial review.

Answer & Explanation
Correct AnswerA. Toggles the current logic level of the pin P1.5 (if it was high, it becomes low, and vice versa).

Quick Explanation

CPL means complement. Applied to a bit-addressable pin such as P1.5, it replaces the bit by its logical complement: 1 becomes 0 and 0 becomes 1.

Formula / Key Relation

P1.5 ← NOT(P1.5)
CPL Bit Instruction explanatory diagram

Detailed Explanation

Correct Answer

A — Toggles the current logic level of the pin P1.5 (if it was high, it becomes low, and vice versa).

Explanation

CPL means complement. Applied to a bit-addressable pin such as P1.5, it replaces the bit by its logical complement: 1 becomes 0 and 0 becomes 1.

Key Concept

CPL Bit Instruction

Formula

P1.5 ← NOT(P1.5)

Exam Point

CPL = Complement = Toggle.

Quick Trick

CPL = Complement = Toggle.

Exam Tip

CPL = Complement = Toggle.

Continue learningRelated PYQs & Exam ContextExam path, knowledge path and deeper practice links.
1Previous Exam Appearances
6All Related Questions

Previous Exam Appearances

01 ADDITIONAL ASSISTANT ENGINEER.pdf2026Q. 60

More Questions From This Concept

PYQ DiscoveryBrowse all verified PYQs
Open Index
Ready for exam mode?Practice this knowledge in Premium Mock Tests
Open Mock Tests →