Panasonic FP7 Series Command Reference Manual page 380

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

Advertisement

7.14 GRY (Conversion: Binary → Gray Code)
Processing
Example 1) Operation unit: 16 bits (US)
[i]...US
[S]...DT0
[D]...DT10
DT0
0000000000011000
Example 2) Operation unit: 32 bits (UL)
[i]...UL
[S]...DT0
[D]...DT10
DT0, DT1
DT10, DT11
Flag operations
Name
SR7
SR8
(ER)
Correspondence Table: DEC / BIN / Gray Code
Decimal
Decimal
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
7-32
00000000000000000000000000011111
00000000000000000000000000010000
Description
To be set in the case of out-of-range in indirect access (index modification).
0000 0000 0000 0000
0000 0000 0000 0001
0000 0000 0000 0010
0000 0000 0000 0011
0000 0000 0000 0100
0000 0000 0000 0101
0000 0000 0000 0110
0000 0000 0000 0111
0000 0000 0000 1000
0000 0000 0000 1001
0000 0000 0000 1010
0000 0000 0000 1011
0000 0000 0000 1100
0000 0000 0000 1101
0000 0000 0000 1110
0000 0000 0000 1111
0000 0000 0001 0000
0000 0000 0001 0001
DT10
0000000000010100
Binary
Binary
Gray code
Gray code
0000 0000 0000 0000
0000 0000 0000 0001
0000 0000 0000 0011
0000 0000 0000 0010
0000 0000 0000 0110
0000 0000 0000 0111
0000 0000 0000 0101
0000 0000 0000 0100
0000 0000 0000 1100
0000 0000 0000 1101
0000 0000 0000 1111
0000 0000 0000 1110
0000 0000 0000 1010
0000 0000 0000 1011
0000 0000 0000 1001
0000 0000 0000 1000
0000 0000 0001 1000
0000 0000 0001 1001
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents