Tool News
 
 
 

Tool News

Products Info
Downloads
Tools FAQs
MAEC TOOL NEWS: MAECT-M3T-NC308WA-020416D

Notes on C Compilers
M3T-NC308WA, M3T-NC30WA, and M3T-NC79WA

Please take note of the following problems in using C compilers (with an assembler and integrated development environment) M3T-NC308WA, M3T-NC30WA, and M3T-NC79WA:
  • On function-extending directive command "@" for concatenating character strings
  • On the tag jump function


  1. Problem on Function-Extending Directive Command "@" for Concatenating Character Strings
    1.1 Products and Versions Concerned
    C compiler for the M32C/80 and M16C/80 series MCUs :
    M3T-NC308WA V.1.00 Release 1 -- V.3.10 Release 3
    C compiler for the M16C/60, M16C/30, M16C/20, and M16C/10 series MCUs :
    M3T-NC30WA V.3.20 Release 1 -- V.5.00 Release 1
    C compiler for the 79xx series MCUs :
    M3T-NC79WA V.3.20 Release 1 -- V.4.10 Release 1

    Relocatable assembler for the M32C/80 and M16C/80 series MCUs :
    M3T-AS308 V.1.00 Release 1 -- V.2.00 Release 1
    Relocatable assembler for the M16C/60, M16C/30, M16C/20, and M16C/10 series MCUs :
    M3T-AS30 V.1.00 Release 1 -- V.3.20 Release 1
    Relocatable assembler for the 79xx series MCUs :
    M3T-AS79 V.2.00 Release 1 -- V.3.20 Release 1

    1.2 Description
    When a character string containing an @ as a character constant is described in the operand of a .BYTE instruction, the @ may be interpreted as a concatenation operator.

    1.3 Conditions
    This problem occurs if the following two conditions are satisfied:
    (1) Two or more character strings are described in the operand of a .BYTE instruction.
    (2) In the character strings in (1) above, one that contains a double quote " is described before another that contains a character constant @.

    1.4 Examples
    --------------------------------------------------------------------
       .byte  '"', "A@B"           ; Treated as '"' , "AB" since the @ 
                                   ; is interpreted as a concatenation operator.
    --------------------------------------------------------------------
    Note that the description shown in the following example is treated properly because it does not satisfy Condition (2) above.
    --------------------------------------------------------------------
       .byte  "A@B", '"'           ; Treated as "A@B" , '"' since the @ 
                                   ; is interpreted as a character constant.
    --------------------------------------------------------------------
    1.5 Workaround
    When a character string containing a double quote is described in advance of another containing a character constant @, split them into two lines or more.
    [Example]
    --------------------------------------------------------------------
       .byte   '"'
       .byte   "A@B"             ; Treated as it is.
    --------------------------------------------------------------------
    1.6 Schedule of Fixing the Problem
    We plan to fix this problem in our next release.


    Notes on C Compilers M3T-NC308WA, M3T-NC30WA, and M3T-NC79WA
    MAECT-M3T-NC308WA-020416D

  2. Problem on the Tag Jump Function
    2.1 Products and Versions Concerned
    C compiler for the M32C/80 and M16C/80 series MCUs :
    M3T-NC308WA V.1.00 Release 1 -- V.3.10 Release 3
    C compiler for the M16C/60, M16C/30, M16C/20, and M16C/10 series MCUs :
    M3T-NC30WA V.3.20 Release 1 -- V.5.00 Release 1
    C compiler for the 79xx series MCUs :
    M3T-NC79WA V.3.20 Release 1 -- V.4.10 Release 1

    Relocatable assembler for the M32C/80 and M16C/80 series MCUs :
    M3T-AS308 V.1.00 Release 1 -- V.2.00 Release 1
    Relocatable assembler for the M16C/60, M16C/30, M16C/20, and M16C/10 series MCUs :
    M3T-AS30 V.1.00 Release 1 -- V.3.20 Release 1
    Relocatable assembler for the 79xx series MCUs :
    M3T-AS79 V.2.00 Release 1 -- V.3.20 Release 1

    2.2 Description
    When TM (Integrated Development Environment) is used, the editor's tag jump function may not be carried out for error or warning messages sent by the assembler.

    2.3 Condition
    This problem occurs if an error or warning message is displayed in the same line that a macro processing status message "---*---" is described in.

    2.4 Example
    --------------------------------------------------------------------
    M16C/60 Series Assembler system Version 4.10 Release1
    Copyright 2001, MITSUBISHI ELECTRIC CORPORATION
    AND MITSUBISHI ELECTRIC SEMICONDUCTOR APPLICATION ENGINEERING CORPORATION 
    All Rights Reserved.
    
    ( test.a30 )
    macro processing now
    ----*----*test.a30 26 Warning (mac30): Actual macro parameters are not enough
    test.a30 29 Warning (mac30): Actual macro parameters are not enough
             :
             :
    --------------------------------------------------------------------
    Here, the tag jump function cannot be carried out for "test.a30 26 Warning (mac30): Actual macro . . ."

    2.5 Workaround
    This problem will be circumvented in either of the following ways:
    (1) Disable the macro processing status message "---*---" from being displayed on screen by using assembler command option "-." (Even if you do this, error or warning messages can be displayed.)
    (2) Create a tag file for assembler errors with assembler command option "-T" selected, and use an editor's tag jump function using this tag file.

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




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