Addressing Modes

An "addressing mode" refers to how you are addressing a given memory location. The addressing modes are as follows, with an example of each:


    Immediate Addressing                   MOV A, #10h
    Direct Addressing                   MOV A, #40h
    Indirect Addressing                   MOV A, @R0
    External Direct                                           MOVX A, @DPTR
    Code Indirect                    MOVC A, @A+DPTR
Each of these addressing modes provides important flexibility.

    Comments

    Popular posts from this blog

    General puprose registers in 8051.

    TCON Special Function register.

    TMOD Special Function Register.