Traditional Culture Encyclopedia - Traditional festivals - Exploring the Memory Mystery of 5 1 Single Chip Microcomputer

Exploring the Memory Mystery of 5 1 Single Chip Microcomputer

5 1 single chip microcomputer has different memory addressing modes, which do not depend on bus, but on instructions. In this paper, the memory composition and addressing mode of 5 1 single chip microcomputer will be discussed in depth to help readers better understand this guy.

Memory component

The memory of 5 1 single chip microcomputer consists of ROM or Flash, RAM, SFR and external RAM 64K.

Instruction addressing

The memory addressing mode of 5 1 single chip microcomputer is realized by instructions. Direct addressing accesses SFR, R0 or R 1 indirect addressing accesses internal high 128-bit RAM, DPTR or R0, and R 1 indirect addressing accesses the 80th address of external 64KRAM with MovX instruction.

Main explanation

For 5 1 single chip microcomputer, as long as the instructions are mastered, memory is no longer a problem. Let your 5 1 single chip microcomputer fly in the programming sky!