4-8051 - Assembly Language Programming Basics and 8-Bit Arithmetic Operations-25-07-2024
4-8051 - Assembly Language Programming Basics and 8-Bit Arithmetic Operations-25-07-2024
BECE204L
Dr Vishal Gupta
Assistant Professor
School of Electronics Engineering
VIT Vellore, Tamil Nadu, India
8051 Microcontroller:
Addressing Modes
Addressing Modes
❑“What is an addressing mode ?“
Addressing mode is a way to address an operand. Operand means the data we
are operating upon (in most cases source data).
Or
An Addressing Mode is a way to locate a target Data, which is also called as
Operand.
➢ It can be a direct address of memory,
➢ It can be register names,
➢ It can be any numerical data etc.
8051 Addressing Modes
• The CPU can access data in various ways, which are called
addressing modes.
❑ The direct addressing mode is most often used to access RAM locations 30–7FH.
❑ Contrast this with immediate addressing mode, there is no “#” sign in the operand.
24
Thank you!