 |
|
 |
MAEC TOOL NEWS:
MAECT-SRA74-020116D
Please take note of the following problems in using relocatable assembler M3T-SRA74 for the 740 family MCUs:
- On the conditional expression in conditional assembling
- On forward-referencing a label in a zero-page section
- Problem on the Conditional Expression in Conditional Assembling
- 1.1 Versions Concerned
- All the versions of M3T-SRA74 for the 740 family MCUs
- 1.2 Description
- Describing a symbol for forward-referencing in the conditional expression in conditional assembling results in the assembling being terminated unsuccessfully.
- 1.3 Example
-------------------------------------------------------------
.section P
.IF BBB ; A symbol for forward-referencing described
in the conditional expression
lda AAA
.ELSE
nop
.ENDIF
BBB .equ 0 ; The symbol defined
.end
-------------------------------------------------------------
- 1.4 Workaround
- Don't describe any symbol for forward-referencing in the conditional expression in conditional assembling.
- Problem on Forward-Referencing a Label in a Zero-Page Section
- 2.1 Versions Concerned
- All the versions of M3T-SRA74 for the 740 family MCUs
- 2.2 Description
- Forward-referencing a label in a relocatable zero-page section causes incorrect data to be written to the HEX file.
- 2.3 Example
-------------------------------------------------------------
.section P
.org 1000h
lda YY
nop
.section Z
YY: .blkb 2 ; A label defined
.end
-------------------------------------------------------------
- In the case of the above example, "Warning 1: Phase warning" is displayed while sra74 is running. However, no error is detected in link 74 though incorrect data is written to the HEX file.
- 2.4 Workaround
- Don't forward-reference any label in a relocatable zero-page section.
|
 |