High−level Instructions
3 − 588
Explanation of example
[Inverted DT30]
[Inverted DT31]
[DT10]
[DT11]
[DT20]
[DT21]
[DT30]
[DT31]
[S1+1, S1]: HCCCCAAAA
[S3+1, S3]:HF0F0F00F
HC0C0A00A
[S2+1, S2]:H33335555
Inverted
[S3+1, S3]:H0F0F0FF0
H03030550
[D+1, D]:HC3C3A55A
[DT40]
[DT41]
Description
The two groups of double word data specified by “S1+1 and S1” and “S2+1 and S2” are combined by bit unit
processing using the master data specified by “S3+1 and S3” and stored in the 32−bit area specified by D.
([S1+1, S1] AND [S3+1, S3]) OR ([S2+1, S2] AND [S3+1, S3]) → [D+1, D]
When [S3+1 and S3]) is H0, ([S2+1, S2] → [D+1, D]
When [S3+1, S3]) is HFFFFFFFF, ([S1+1, S1] → [D+1, D]
Flag conditions
・Error flag (R9007): Turns on and stays on when the area specified using the index modifier
exceeds the limit.
・Error flag (R9008): Turns on for an instant when the area specified using the index modifier
exceeds the limit.
・= flag (R900B): Turns on for an instant when the calculated result is recognized as “0”.