Home >> ATmega1284 Search >> ATMEL ATmega1284 Datasheet
ATmega1284 Datasheet
8-bit AVR Microcontrollers
ATMEL
ATMEL


No Preview Available !

ATmega1284 pdf
Figure 8-3. The X-, Y-, and Z-registers
15 XH
XL 0
X-register
7
07
0
R27
15 YH
R26
YL 0
Y-register
7
07
0
R29 R28
15 ZH
ZL 0
Z-register
7
07
0
R31 R30
In the different addressing modes these address registers have functions as fixed displacement,
automatic increment, and automatic decrement (see the instruction set reference for details).
Related Links
Instruction Set Summary on page 462
8.5.
Stack Pointer
The Stack is mainly used for storing temporary data, for storing local variables and for storing return
addresses after interrupts and subroutine calls. The Stack is implemented as growing from higher to
lower memory locations. The Stack Pointer Register always points to the top of the Stack.
The Stack Pointer points to the data SRAM Stack area where the Subroutine and Interrupt Stacks are
located. A Stack PUSH command will decrease the Stack Pointer. The Stack in the data SRAM must be
defined by the program before any subroutine calls are executed or interrupts are enabled. Initial Stack
Pointer value equals the last address of the internal SRAM and the Stack Pointer must be set to point
above start of the SRAM. See the table for Stack Pointer details.
Table 8-1. Stack Pointer Instructions
Instruction Stack pointer
Description
PUSH
Decremented by 1 Data is pushed onto the stack
CALL
ICALL
Decremented by 2 Return address is pushed onto the stack with a subroutine call or
interrupt
RCALL
POP
RET
RETI
Incremented by 1 Data is popped from the stack
Incremented by 2 Return address is popped from the stack with return from subroutine or
return from interrupt
The AVR Stack Pointer is implemented as two 8-bit registers in the I/O space. The number of bits actually
used is implementation dependent. Note that the data space in some implementations of the AVR
architecture is so small that only SPL is needed. In this case, the SPH Register will not be present.
Atmel ATmega1284 [DATASHEET]
Atmel-42718B-ATmega1284_Datasheet_Complete-08/2016
23

ATmega1284 Datasheet PDF


Related Start with ATmega128*

[ ATmega128 ATMEL Corporation ]     [ ATmega1280 ATMEL Corporation ]     [ ATmega1280V ATMEL ]     [ ATmega1281 ATMEL Corporation ]     [ ATmega1281V ATMEL ]     [ ATmega1284 ATMEL Corporation ]     [ ATmega1284 ATMEL ]     [ ATmega1284P ATMEL Corporation ]     [ ATmega1284P ATMEL ]     [ ATmega1284RFR2 ATMEL ]     [ ATmega128A ATMEL Corporation ]     [ ATmega128L ATMEL Corporation ]     [ ATmega128RFA1 Atmel Corporation ]     [ ATmega128RFR2 ATMEL ]     [ ATmega128 ATMEL Corporation ]     [ ATmega1280 ATMEL Corporation ]     [ ATmega1280V ATMEL ]     [ ATmega1281 ATMEL Corporation ]     [ ATmega1281V ATMEL ]     [ ATmega1284 ATMEL Corporation ]     [ ATmega1284 ATMEL ]     [ ATmega1284P ATMEL Corporation ]     [ ATmega1284P ATMEL ]     [ ATmega1284RFR2 ATMEL ]    


Searches related to ATmega1284 part

Find Chips CBC RS online RUTRONIK 24
Component Distributors NexGen Digital Richardson RFPD ICC
Beyond Components NAC PEI-Genesis Powell Electronics
TME Ameya 360 Power & Signal Datasheets360
Freelance Electronics Sager Electronics Terminals & Connectors TTI

0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z
@ 2014 :: DatasheetsPDF.com :: Semiconductors Datasheet Search & Download Site