NEC ELECTRONICS GLOBAL
nec electronics global
HOME
APPLICATIONS
PRODUCTS
TECHNOLOGY
SUPPORT
BUY ONLINE
NEWS & EVENTS
ABOUT US
header
GO
AdvancedParametric
SITE MAP CONTACT US

[RA78K0] General

Contents

    
FAQ-ID = RA_General-nnnn
0595: With the RA78K0, warning message "W4301: Can't initialize RAM area 'fe20h − fe27h'" is displayed.
RA_General
-0595
With the RA78K0, warning message "W4301: Can't initialize RAM area 'fe20h − fe27h'" is displayed.
Q1
With the RA78K0, warning message

"W4301: Can't initialize RAM area 'fe20h − fe27h'"

is displayed.
A1
The above message indicates that the program is described to locate an object in the RAM area (an area of FE20 to FE27 in this example) by a DB or DW pseudo instruction.

The DB and DW pseudo instructions are used to secure a part in the ROM area and set the initial values in this part.
They are not allowed to specify any part in the RAM area.
The DB and DW pseudo instruction thus cannot be described in the data segment (DSEG).

Use the DS pseudo instruction to set initial values in the RAM area. Describe a DS pseudo instruction in DSEG to secure a part in the RAM area, and then describe necessary instructions (e.g., MOV) in the code segment (CSEG) to set the initial values.

When you want to set constants to be used in the program, set them in the ROM area, not the RAM area.
In this case, describe a DB/DW pseudo instruction in CSEG.

-78K0-

Is this information useful for you ?
back to top  
(2006/07)









































 LEGAL  RSS Feeds       © 1995-2008  NEC Electronics Corporation