Tool News
 
 
 

Tool News

Products Info
Downloads
Tools FAQs
MESC TOOL NEWS: MESCT-NC308WA_2-000901D

NC308WA and AS308
Precautions

Please take note of the following problems in using C compiler NC308WA (with an assembler and integrated development environment) and relocatable assembler AS308 for the M16C/80 series MCUs:
  • On assembler directive command ".BTEQU"
  • On bit operation instructions


  1. Problem on assembler directive command ".BTEQU"
    1.1 Versions Concerned
    NC308WA V.1.00 Release 1 -- V.3.00 Release 1
    AS308 V.1.00 Release 1 -- V.2.00 Release 1

    1.2 Description
    If a bit position is set to 7 by using assembler directive command".BTEQU", the value of the memory address plus 1 is displayed in the list file. Although this symptom appears in the list file, nothing affects the object file created.

    1.3 Example
    ----------------------------------------------------------------------- bitsym1 .btequ 7,100h ; "7,00000101h" is displayed ; in the list file. bitsym2 .btequ 15,100h ; "7,00000102h" is displayed ; in the list file. -----------------------------------------------------------------------
    Note: In the above example, describing "bitsym2 .btequ 15,100h" is the same as describing "bitsym2 .btequ 7,101h".


    1.4 Workaround
    When a bit position is set to 7 by using assembler directive command ".BTEQU", and the memory address is referenced in the list file, subtract 1 from the displayed value of the memory address.

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




    NC308WA and AS308 Precautions
    MESCT-NC308WA_2-000901D

  2. Problem on Bit Operation Instructions
    2.1 Versions Concerned
    NC308WA V.1.00 Release 1 -- V.3.00 Release 1
    AS308 V.1.00 Release 1 -- V.2.00 Release 1

    2.2 Description
    If a program is assembled in which operands of bit operation instructions are described with undefined symbols, AS308 may not correctly be terminated, displaying "Page Fault".

    2.3 Conditions
    This problem occurs if the following two conditions are satisfied:
    (1) An undefined symbol is used as the value of a bit in a bit operation instruction.
    (2) The addressing mode specified by the above instruction is not an absolute addressing mode.

    2.4 Workaround
    Be sure to describe operands of bit operation instructions with already-defined symbols.

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

    * The discrete sales of our assembler products were discontinued on April 1; only C compilers (with an assembler and integrated development environment TM) are available. Then, each assembler concerned will be upgraded to the compiler including it and a TM with additional charge. For further information please contact your local Mitsubishi Electric sales office or distributor.



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