jagomart
digital resources
picture1_Programming Pdf 185468 | Lw03 Cpe323 Msp430 Assembly Slides


 166x       Filetype PDF       File size 1.29 MB       Source: lacasa.uah.edu


File: Programming Pdf 185468 | Lw03 Cpe323 Msp430 Assembly Slides
cpe 323 the msp430 assembly language programming aleksandar milenkovic electrical and computer engineering the university of alabama in huntsville milenka ece uah edu http www ece uah edu milenka intro ...

icon picture PDF Filetype PDF | Posted on 01 Feb 2023 | 2 years ago
Partial capture of text on file.
 
                               CPE 323: 
              The MSP430 Assembly 
             Language Programming
                                Aleksandar Milenkovic 
                          Electrical and Computer Engineering
                         The University of Alabama in Huntsville
                                milenka@ece.uah.edu
                           http://www.ece.uah.edu/~milenka
   Intro      Assembly Directives       SUMD/SUMI         CountEs      Subroutines       Performance
                                                                  Outline
                 • Introduction
                 • Assembly language directives
                 • SUMI/SUMD
                        • Adding two 32-bit numbers (decimal, integers)
                 • CountEs: Counting characters ‘E’
                 • Subroutines
                        • CALL&RETURN
                        • Subroutine Nesting
                        • Passing parameters
                        • Stack and Local Variables
                 • Performance
                                   CPE 323 Introduction To Embedded Computer Systems                                     2
   Intro      Assembly Directives       SUMD/SUMI         CountEs      Subroutines       Performance
                                      Assembly Programming Flow
                          ASM file                        ASM file                          ASM file 
                           (*.asm)                        (*.asm)                            (*.asm)
                        Assembler                       Assembler                          Assembler
                        Object File                     Object File                       Object File
                                                           Linker                      Static Libraries
                                                     Executable File
                                                           Loader
                                                      Machine Code
                                                        in Memory
                                   CPE 323 Introduction To Embedded Computer Systems                                     3
   Intro      Assembly Directives       SUMD/SUMI         CountEs      Subroutines       Performance
                                                 Assembly Directives
                 • Assembly language directives tell the assembler to
                        • Set the data and program at particular addresses in address pace
                        • Allocate space for constants and variables
                        • Define synonyms
                        • Include additional files
                        • …
                 • Typical directives
                        • Equate: assign a value to a symbol 
                        • Origin: set the current location pointer
                        • Define space: allocate space in memory
                        • Define constant: allocate space for and initialize constants
                        • Include: loads another source file
                                   CPE 323 Introduction To Embedded Computer Systems                                     4
The words contained in this file might help you see if this file matches what you are looking for:

...Cpe the msp assembly language programming aleksandar milenkovic electrical and computer engineering university of alabama in huntsville milenka ece uah edu http www intro directives sumd sumi countes subroutines performance outline introduction adding two bit numbers decimal integers counting characters e call return subroutine nesting passing parameters stack local variables to embedded systems flow asm file assembler object linker static libraries executable loader machine code memory tell set data program at particular addresses address pace allocate space for constants define synonyms include additional files typical equate assign a value symbol origin current location pointer constant initialize loads another source...

no reviews yet
Please Login to review.