Skip to content
Question Bank (2 marks) · Q8

Q.Write ALP to represent “load 15H into R2”

Karnataka PUCTextbookShort· 2mImportance★★★★★est
37% · 43/115 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

[!TLDR]

Use the immediate-addressing MOV instruction — MOV R2, #15H — to load the constant 15H into register R2.

To place a constant value into a register, the 8051 uses immediate addressing, where the data is written in the instruction itself preceded by the # symbol. Here the value 15H must go into register R2, so the destination is R2 and the immediate source is #15H. The assembly-language program is a single lin …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.