Tool News
 
 
 

Tool News

Products Info
Downloads
Tools FAQs
MESC TOOL NEWS: MESCT-PD45-000201D

PD45
Precaution

Please take note of the following problem in using emulator debugger PD45 for the 4500 series of microcomputers:


  1. Versions Concerned
    PD45 V.1.10 Release 1 -- V.1.30 Release 1

  2. Problem
    Assembler ASM45, included in the PD45 product package, comes with a function of optimizing branch instructions, which is capable of developing optimize instruction "BRN" to instruction "B" (jump to an address within the page) or "BL" (jump to an address out of the page). However, because an instruction that should be "BL" becomes "B" depending on how the source program is described, the following error may occur:
    --------------------------------------------------------------------
       Error 17: Relative jump is out of range "xxxxx"
    --------------------------------------------------------------------
    
  3. Condition
    If the label designated as the operand of an "BRN" instruction is forward referencing, this problem may occur. On the other hand, no problem occurs if the above label is backward referencing or immediate addressing, as well as if the "B" or "BL" instruction is directly described.

  4. Example
       --------------------------------------------------------------------
               .org $1FB
    
               BRN L1    <- Optimized as an "B" instruction to result in 
                            an error
               BRN L2
               BRN $FFF                               Page 3
                       -------------------------------------------
           L1:                                        Page 4
               NOP
           L2:
               NOP
       --------------------------------------------------------------------
    
  5. Workaround
    Change "BRN" instructions causing errors to "BL" instructions.

    [Modified] BL L1
    [Original] BRN L1

  6. Schedule of Fixing Problem
    The fixed version is due to be released on our tool homepage; the time of release will be announced in this tool news.





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