Renesas TM V.3.20A Dokumentacja Strona 628

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 762
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 627
Renesas Technology, Tools FAQs
Last Updated: July 22, 2003
Document Number: 03072225_e
Q.
How to use multiplication/division subroutines for 1 page stacks
A.
This section explains only those parts which differ from setting 0 page stacks. After doing the below processing, use the
multiplication/division subroutines as explained on the previous page.
Setting stack page
Set the stack page to 1 page using the library source file sra74.a74 included with SRA74. Rewrite the .SPPAGE symbol in the
library source file from 0 to 1.
---------------------------------------
.SPPAGE = 0 ; default page( 0 page )
v
.SPPAGE = 1 ; Stack page is set 1 page
--------------------------------------
Securing operation work area
Secure the work area used by the multiplication/division subroutines. Secure the 3-byte work area .syswk in the zero page
RAM.
--------------------------
.SECTION Z
:
.syswk .blkb 3
--------------------------
Note!
To access the operation work area with an interrupt processing routine, make sure the data in the work area is retained in a
stack, etc.
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Przeglądanie stron 627
1 2 ... 623 624 625 626 627 628 629 630 631 632 633 ... 761 762

Komentarze do niniejszej Instrukcji

Brak uwag