 |
|
 |
MESC TOOL NEWS:
MECST-AS30-980501D
Mitsubishi requests that care should be exercised about a problem which occurs in using M16C/60 Series Relocatable Assembler AS30.
Problem
When programs containing a structured description instruction "elif" are step-executed in the source mode in the trace window of debugger software, control does not trace the line of "elif" but steps to the line indicating the result of decision of "elif".
This problem occurs only when source programs created with structured description are traced in a source level, but does not when in an assembly source level.
Workaround
Please modify your source program not to use "elif", as shown below.
Example of Current Description
if [work1] < 0
[work2] = [work1]
elif [work1] == 0
[work1] = [work2]
else
[work1] = 0
endif
|
Example of Modified Description
if [work1] < 0
[work2] = [work1]
else
if [work1] == 0
[work1] = [work2]
else
[work1] = 0
endif
endif
|
|
 |