 |
|
 |
MAEC TOOL NEWS:
MAECT-PD308SIM-010801D
PD308SIM V.3.00 Release 1 Precaution
|
Please take note of the following problem in using simulator debugger PD308SIM V.3.00 Release 1 for the M32C/80 and M16C/80 series MCUs.
- On using instruction BTST
- Description
When the BTST (bit test) instruction is used in S format, the Z and C flags will be set to the incorrect values.
- 1.1 Example
- In the program shown below, the Z flag is set to "1" and the C flag to "0" after execution of the BTST instruction while the correct values of the Z and the C flag is "0" and "1" respectively.
-----------------------------------------------------------------
MOV.B #02H,0800H
MOV.B #00H,0801H
BTST:S 1,0800H
-----------------------------------------------------------------
- Workaround
Please download modified simulator engine SIM308.EXE (self-extracting archive: 110KB).
Then, replace the current SIM308.EXE file saved in the directory where PD308SIM has been installed with the downloaded one.
- Schedule of Fixing the Problem
We plan to fix this problem in our next release.
|
 |