Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-8882

Macro with temp label causes assembler to crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-4668
    • Hide
      C6000_8.2.0
       C6000_8.1.0B1
       C2000_16.9.0.LTS
      Show
      C6000_8.2.0  C6000_8.1.0B1  C2000_16.9.0.LTS
    • Hide
      C6000_8.3.0
       ARM_18.9.0.STS
       C2000_18.9.0.STS
      Show
      C6000_8.3.0  ARM_18.9.0.STS  C2000_18.9.0.STS
    • The problem will not occur without macro labels. If labels are required, no workaround is known.
    • Hide
      The assembler may crash or report a memory misuse when using an assembly macro containing a label, if the label appears in an instruction in a position that requires extra lookahead to parse.

      The original example is a register name followed by a comma and a label use; for that assembler, the thing following the comma might be a shift specifier, so it requires expanding the macro label. That extra step frees some memory that it shouldn't, causing the problem.
      Show
      The assembler may crash or report a memory misuse when using an assembly macro containing a label, if the label appears in an instruction in a position that requires extra lookahead to parse. The original example is a register name followed by a comma and a label use; for that assembler, the thing following the comma might be a shift specifier, so it requires expanding the macro label. That extra step frees some memory that it shouldn't, causing the problem.

      Macro with temp label causes assembler to crash

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: