Renesas TM V.3.20A Specifiche Pagina 110

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 762
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 109
Renesas Technology, Tools FAQs
Last Updated: December 20, 2000
Document Number: 01051280_e
Q.
Which registers are stored in the stack when calling a function?
A.
Only registers that will be referenced after the function are stored in the stack.
[Example] (when referencing Register R1 after calling the function)
mov.w R1,_a
mov.w R1,-4[FB] ; Register R1 is stored in the stack.
jsr _func
mov.w -4[FB],R1 ; Register R1 is returned.
cmp.w #10,R1 ; Register R1 is referenced after the function is called.
:
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Vedere la pagina 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 761 762

Commenti su questo manuale

Nessun commento