 |
|
 |
MESC TOOL NEWS:
MESCT-AS308-990216D
Please take note of the following problem in using assembler AS308 for the M16C/80 series of microcomputers.
On Using abs308
- Versions Concerned
All the versions of AS308
- 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
|
-----------------------------------------------------------------------
- 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
|
-----------------------------------------------------------------------
Schedule of Fixing Problem
We plan to fix this problem in our next release.
|
 |