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.
Comentários a estes Manuais