Motorola MCU MC9S12DP256 Manuale Utente Pagina 4

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 6
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 3
While you dont need to memorize all of the instructions, you should know how to use
the manual to find any necessary information. For a handful of instructions however it
will be useful to know the following without referencing the manual:
What the instruction does
How to use it
How many and what kind of parameters is takes (there are usually many cases
possible)
How many CPU cycles it takes to execute (there are usually many cases
depending on the parameter)
Once you have written a piece of assembly code, you will need to compile it and load it
onto the microcontroller. To do so, we will be using a debugging tool called NoICE. To
get started with the NoICE debugger, please refer to NoICE_intro.doc which posted on
the course website.
Some Other Useful Information
The ORG assembler directive indicates to the compiler where in the
microcontrollers memory the assembly program should be stored.
The RTS command is used to return from the current subroutine. If a subroutine
has not been called, RTS will end the program.
The following is the memory map of the MC9S12DP256:
Vedere la pagina 3
1 2 3 4 5 6

Commenti su questo manuale

Nessun commento