Q-Code User Manual
Ver. 7.0 2021/11/30
220
read the High-Nibble of value defined in
[Table]
section.
TableName:
name of the table defined in
[Table]
.
Rx/Xx:
the content of Rx represents the address of X axis. User can use 4-bit or 8-bit variable
addressing.
Ry/Xy:
the content of Ry represents the address of Y axis. User can use 4-bit or 8-bit variable
addressing.
Ri:
save the High-Nibble of obtained data to Ri.
Note: NX1 does not support this command.
4.16.4 Table(TableName, Rx/Xx, Ry/Xy, Rh, Rm, Rl) / Table(TableName, Rx/Xx, Ry/Xy, Ri)
Table (TableName, Rx/Xx, Ry/Xy, Rh, Rm, Rl) command is for indirect data addressing and it can be
used to read the entry of table defined in
[Table]
section.
Table(TableName, Rx/Xx, Ry/Xy, Rh, Rm, Rl)
only supports NY4 / NY5 / NY5+ / NY6 / NY7 / NY9T.
Table(TableName, Rx/Xx, Ry/Xy, Ri)
only supports NX1.
TableName:
name of table defined in
[Table]
.
Rx/Xx:
the content of Rx represents the address of X axis. User can use 4-bit or 8-bit variable
addressing.
Ry/Xy:
the content of Ry represents the address of Y axis. User can use 4-bit or 8-bit variable
addressing.
Rh:
save the High-Nibble of obtained data to Rh.
Rm:
save the Middle-Nibble of obtained data to Rm.
Rl:
save the Low-Nibble of obtained data to Rl.
Ex.
[Table]
Trans:
{
[0x001, 0x003, 0x005, 0x007, 0x009],
[0x004, 0x005, 0x3F6, 0x008, 0x010],
[0x000, 0x001, 0x002, 0x003, 0x0F4]
}
[Path]
P1: R0=2, R1=1, TableL(trans,R0,R1,R2)
;
R2=0x6.
P2: R0=2, R1=1, TableM(trans,R0,R1,R2)
; R2=0xF.
P3: R0=2, R1=1, TableH(trans,R0,R1,R2)
; R2=0x3.
P4: R0=2, R1=1, Table(trans,R0,R1,R4,R3,R2)
; R2=0x6
,
R3=0xF
,
R4=0x3.