
B-66244EN/03 3.FP FUNCTIONS
- 265 -
[Format/with arguments]
rdpmcb[adrtype_snumber_bitpos]
[Arguments]
adrtype PMC address type
0: G
1: F
2: Y
3: X
4: A
5: R
6: T
7: K
8: C
9: D
12: E(PMC-SB7)
snumber PMC address where data is read
bitpos Bit position (0 to 7)
[Description]
1 bit of the specified PMC area is read.
[Example]
rdpmcb[9_100_0] The data of bit 1 of D100 is read.
2.5 PMC read (bit) (indirect specification)
[Function name]
idrdpmcb
[Data type]
1: 1 bytes
[Format/with arguments]
idrdpmcb[kind_datanum]
[Arguments]
kind Kind and data division of indirect specification
datanum Number of beginning of storage of argument of
indirect specification
[Argument of indirect specification destinations]
adrtype_snumber_bitpos
adrtype Kind of PMC address
snumber read PMC address
bitpos Bit position
Row of argument when PMC area is specified
Offset from head PMC address (byte)
+0 +1-2 +3
Set argument adrtype snumber bitpos
[Example]
When you read the data of bit 7 of D100 of PMC area.
idrdpmcb[109_10]
D10 in PMC area is used for indirect data.
D10(adrtype) = 9
D11,12(snumber) = 100
D13(bitpos) = 7