Figure 10 shows the organization of the ATmega88 SRAM space. The
ATmega88 is a complex microcontroller that supports more peripherals than the reserved 64 I/Os (accessed by IN OUT instructions). For the extended I/O 0x60 - 0xFF, only ST/STS/STD and LD/LDS/LDD instructions can be used. The
first 1280 data memory includes the register file, I/O memory, extended I/O memory, and data SRAM. The first 32 addresses are the register file, followed by the 64 I/O memory, followed by the 160 extended I/O memory. Finally, there is the 1024-byte data SRAM.
The data memory is addressed in five ways: direct addressing, indirect addressing with offset, indirect addressing, indirect addressing with pre-decrement, and indirect addressing with post-increment. Registers R26 to R31 in the register file are pointer registers for indirect addressing.
The direct addressing range can reach the entire data area.
The indirect addressing mode with offset can address 63 addresses near the base address given by registers Y and Z.
In the automatic pre-decrement and post-increment indirect addressing mode, registers X, Y and Z are automatically increased or decreased.
All 32 general registers, 64 I/O registers, 160 extended I/O registers and 1024 bytes of internal data SRAM of ATmega88 can be accessed through all the above addressing modes. For a description of the register file, see P8 "General Register File".
SRAM Data Memory Access Time
This section describes the timing for accessing the internal memory. As shown in Figure 11, the internal data SRAM access time is two clkCPU clocks.
Previous article:ATmega88 EEPROM Data Memory
Next article:ATmega88 Flash Program Memory
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- CGD and Qorvo to jointly revolutionize motor control solutions
- CGD and Qorvo to jointly revolutionize motor control solutions
- Keysight Technologies FieldFox handheld analyzer with VDI spread spectrum module to achieve millimeter wave analysis function
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- A new chapter in Great Wall Motors R&D: solid-state battery technology leads the future
- Naxin Micro provides full-scenario GaN driver IC solutions
- Interpreting Huawei’s new solid-state battery patent, will it challenge CATL in 2030?
- Are pure electric/plug-in hybrid vehicles going crazy? A Chinese company has launched the world's first -40℃ dischargeable hybrid battery that is not afraid of cold
- [Hua Diao Experience] 17 Beetle ESP32C3 and WS2812 screen music visualization rhythm light
- EEWORLD University----42/5000 Power over Ethernet (PoE) Training Series
- How to effectively program a microcontroller active buzzer driver
- MSP430 SPI reads AFE4400 register value code
- WPG Live Broadcast Registration | Thundercomm, Lianda, Qualcomm IOT Platform Solutions and Success Stories
- The rain is a surprise in spring, the valley is clear, the summer is full of grains, and the summer heat is connected
- Microchip Live FAQ|ADAS Platform Root of Trust
- Scaling of DSP data
- Programming example: CPU card 4-byte random number reading
- sampling