Tool News
 
 
 

Tool News

Products Info
Downloads
Tools FAQs
MESC TOOL NEWS: MESCT-AS79-990216D

AS79 Precaution

Please take note of the following problem in using assembler AS79 for the 7900 series of microcomputers.


On Using abs79
  1. Versions Concerned
    All the versions of AS79

  2. Problem
    When assembler directive ".ORG" is described more than once in an absolute data section, the absolute address of the symbols defined in the second and later ".ORG" directives is not correctly generated (see Example 1).

         [Example 1]
          -----------------------------------------------------------------------
         |
         |              .section        ram,data
         |              .org   100h
         |    sym1:     .blkb  1
         |    sym2:     .blkb  1
         |              .org   200h
         |    sym3:     .blkb  1        ; Address not correctly generated
         |    sym4:     .blkb  1
         |
          -----------------------------------------------------------------------
    
  3. Workaround
    Please define a data section for each ".ORG" directive (see Example 2).

         [Example 2]
          -----------------------------------------------------------------------
         |
         |              .section        ram,data
         |              .org   100h
         |    sym1:     .blkb  1
         |    sym2:     .blkb  1
         |              .section        ram1,data
         |              .org   200h
         |    sym3:     .blkb  1
         |    sym4:     .blkb  1
         |
          -----------------------------------------------------------------------
    


On Describing Operands of MOVxx Instruction
  1. Versions Concerned
    All the versions of AS79

  2. Problem
    Even when an operand of the MOVxx instruction is described as spread over two lines, this description may not be assumed to be an error (see Example 3).

         [Example 3]
          -----------------------------------------------------------------------
         |
         |    MOVM      12H, #12H +
         |                     1
         |
          -----------------------------------------------------------------------
    
  3. Workaround
    When the description of one instruction is spread over two lines, be sure to use concatenate operator "\\" (see Example 4).

         [Example 4]
          -----------------------------------------------------------------------
         |
         |    MOVM      12H, #12H +\\
         |                     1
         |
          -----------------------------------------------------------------------
    

Schedule of Fixing Problems
We plan to fix these problems in our next release.





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