jagomart
digital resources
picture1_Micro Week6 Slides New


 169x       Filetype PDF       File size 0.10 MB       Source: www.cse.unsw.edu.au


File: Micro Week6 Slides New
assembly programming iii lecturer annie guo s2 2006 comp9032 week6 1 lecture overview stack and stack operations functions and function calls calling conventions s2 2006 comp9032 week6 2 stack what ...

icon picture PDF Filetype PDF | Posted on 02 Feb 2023 | 2 years ago
Partial capture of text on file.
        Assembly Programming (III)
                     Lecturer: Annie Guo
        S2, 2006          COMP9032 Week6             1
                       Lecture Overview
         • Stack and stack operations
         • Functions and function calls
             – Calling conventions
         S2, 2006               COMP9032 Week6                  2
                                          Stack
            •  What is stack?
                – A data structure in which the data item that is Last In is 
                   First Out (LIFO)
            •  In AVR, a stack is implemented as a block of 
               consecutive bytes in the SRAM memory
            •  A stack has at least two parameters:
                – Bottom                                                      Bottom-n
                – Stack pointer
                                                    SP
                                                      Bottom
            S2, 2006                     COMP9032 Week6                             3
                        Stack Bottom
         • The stack usually grows from higher 
           addresses to lower addresses
         • The stack bottom is the location with the 
           highest address in the stack
         • In AVR, 0x0060 is the lowest address for 
           stack                    0x0060
               • i.e. in AVR, 
                stack bottom >=0x0060
                                     SP
                                    RAMEND
         S2, 2006            COMP9032 Week6               4
The words contained in this file might help you see if this file matches what you are looking for:

...Assembly programming iii lecturer annie guo s comp week lecture overview stack and operations functions function calls calling conventions what is a data structure in which the item that last first out lifo avr implemented as block of consecutive bytes sram memory has at least two parameters bottom n pointer sp usually grows from higher addresses to lower location with highest address x lowest for i e ramend...

no reviews yet
Please Login to review.