Datasheet
on registers containing such Status flags. The CBI and SBI instructions work with registers 0x00 to
0x1F only.
4. When using the I/O specific commands IN and OUT, the I/O addresses 0x00 - 0x3F must be used.
When addressing I/O registers as data space using LD and ST instructions, 0x20 must be added to
these addresses. The ATmega48PA/88PA/168PA is a complex microcontroller with more peripheral
units than can be supported within the 64 location reserved in Opcode for the IN and OUT
instructions. For the extended I/O space from 0x60 - 0xFF in SRAM, only the ST/STS/STD and
LD/LDS/LDD instructions can be used.
5. SPH.SP10, SPMCSR.RWWSB, SPMCSR.RWWSRE and EEARH registers are only available for
ATmega88PA and ATmega168PA.
ATmega48PA/88PA/168PA
Register Summary
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40002011A-page 475