Renesas TM V.3.20A Specifikace Strana 110

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 762
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 761 762

Komentáře k této Příručce

Žádné komentáře