Panasonic FP7 Series Command Reference Manual page 256

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

4.3 BCMP (Block Comparison)
Processing
Example 1) Comparison between 5 bytes that start from a low byte in block 1 and 5
bytes that start from a low byte in block 2
[S1]...H0
[S2]...U5
Block 1
High
H 00
DT0
DT1
H 31
DT2
H 33
DT3
H 35
Example 2) Comparison between 5 bytes that start from a high byte in block 1 and 5
bytes that start from a low byte in block 2
[S1]...H1
[S2]...U5
Block 1
High
H 00
DT0
H 31
DT1
DT2
H 33
H 35
DT3
Example 3) Comparison between 6 bytes that start from a high byte in block 1 and 6
bytes that starts from a low byte in block 2
[S1]...H1
[S2]...U6
Block 1
High
DT0
H 30
H 32
DT1
DT2
H 34
DT3
H 00
Example 4) Comparison between 7 bytes that start from a high byte in block 1 and 7
bytes that starts from a high byte in block 2
[S1]...H3
[S2]...U7
Block 1
High
DT0
H 00
H 31
DT1
DT2
H 33
H 35
DT3
DT4
H 37
DT5
H 39
Flag operations
Name
SR7
4-10
[S3]...DT1
Low
H 00
DT10
H 30
DT11
H 32
DT12
H 34
DT13
[S3]...DT1
Low
H 00
DT10
H 30
DT11
H 32
DT12
H 34
DT13
[S3]...DT0
Low
H 00
DT10
H 31
DT11
H 33
DT12
H 35
DT13
[S3]...DT1
Low
H 00
DT10
H 30
DT11
H 32
DT12
H 34
DT13
H 36
DT14
H 38
Description
To be set in the case of out-of-range in indirect access (index modification).
[S4]...DT10
→ SRB:ON
Block 2
High
Low
H 31
H 30
H 33
H 32
H 35
H 34
H 37
H 36
[S4]...DT10
→ SRB:OFF
Block 2
High
Low
H 31
H 30
H 33
H 33
H 35
H 34
H 37
H 36
[S4]...DT10
→ SRB:ON
Block 2
High
Low
H 31
H 30
H 32
H 33
H 34
H 35
H 37
H 36
[S4]...DT10
→ SRB:ON
Block 2
High
Low
H 31
H 30
H 33
H 32
H 35
H 34
H 37
H 36
H 39
H 38
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents