ABSTRACT

One of the fundamental data structures studied in computer sci-ence is the stack.  is last in ¢rst out (LIFO) storage structure is also of fundamental importance in the procedure call mechanism, interrupt system, and the design of processors. Most processor designs include hardware support for at least one stack.  e AVR processor includes a stack pointer (SP) register (in the I/O register area) and a few explicit stack instructions.  e use of the stack by AVR programs is required for interrupts and procedure calls.