Tool News
 
 
 

Tool News

Products Info
Downloads
Tools FAQs
MESC TOOL NEWS: MESCT-AS308-991001D

AS308 Precaution

Please take note of the following problems in using assembler AS308 for the M16C/80 series of microcomputers.


  1. Versions Concerned
    All the versions of the AS308 product, as well as those of AS308 included with C compiler NC308WA for the M16C/80 series MCUs.


  2. Problem on as308
    2.1 Description
    When command option "-mode60" or "-mode60p" is chosen, execution of bit manipulation instructions described in accordance with the M16C/60 series instruction results in incorrect code being generated (in address register indirect and address register relative addressing modes)

    Examples of descriptions of an instruction that cause errors:
    BSET [A0] ; In address register indirect addressing mode
    BSET base[A0] ; In address register relative addressing mode


    2.2 Workaround
    For the bit manipulation instructions involved in the problem, modify descriptions of the instruction as follows:

    Descriptions Causing ErrorsModifications
    BSET [A0] BITINDEX.B/W A0
    BSET 0,0
    BSET base[A0] BITINDEX.B/W A0
    BSET 0,base

    Note : For the operation of the BITINDEX instruction, refer to the "Indexed Instructions (10)" section in the M16C/80 series software manual.



    AS308 Precaution
    MESCT-AS308-991001D

  3. Problem on ln308
    3.1 Description
    Even if the same label or symbol name is defined as "external" in more than one file, double definition errors do not occur in ln308.

    3.2 Workaround
    Ensure that the same label or symbol name is not double-defined in more than one file.


  4. Schedule of Fixing Problem
    We plan to fix this problem in our next release.






© 2008. Renesas Technology Corp., All rights reserved. Privacy | Legal