Presentation is loading. Please wait.

Presentation is loading. Please wait.

ADDRESSING MODES AND INSTRUCTION SET

Similar presentations


Presentation on theme: "ADDRESSING MODES AND INSTRUCTION SET"— Presentation transcript:

1 ADDRESSING MODES AND INSTRUCTION SET
UNIT-2 ADDRESSING MODES AND INSTRUCTION SET

2 Notations used in Instructions
Rn - Working register R0-R7. direct internal RAM locations, any l/O port, control or status register. @Ri - Indirect internal or external RAM location addressed by register R0 or R1. #data - 8-bit constant included in instruction. #data bit constant included in instruction. bit - Any bit addressable l/O pin, control or status bit. 3-Dec-18 Micro 8051

3 3-Dec-18 Micro 8051

4 Addressing modes The CPU can access data in various ways, which are called addressing modes: Immediate Register Direct Register indirect Indexed Accessing memories 3-Dec-18 Micro 8051

5 Immediate Addressing Mode

6 Register Addressing Mode

7 Direct Addressing Mode

8 Register Indirect Addressing Mode

9 Continues…

10 Indexed Addressing mode


Download ppt "ADDRESSING MODES AND INSTRUCTION SET"

Similar presentations


Ads by Google