Q-Code User Manual
Ver. 7.0 2021/11/30
222
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: TableL(trans, 2, 1,R2)
; R2=0x6
P2: TableM(trans, 2, 1,R2)
; R2=0xF.
P3: TableH(trans, 2, 1,R2)
; R2=0x3.
P4: Table(trans, 2, 1,R4,R3,R2)
; R2=0x6
,
R3=0xF
,
R4=0x3.
4.16.9 TableL(TableName, Rx/Xx, Ry/Xy, Xi)
TableL(TableName, Rx/Xx, Ry/Xy, Xi) is the in-direct data addressing command. It could read the
Low-Byte of entry of table defined in the
[Table]
section.
TableName:
name of table defined in
[Table]
.
Rx/Xx:
the content of Xx represents the address of X axis. User can use 4-bit or 8-bit variable
addressing.
Ry/Xy:
the content of Xy represents the address of Y axis. User can use 4-bit or 8-bit variable
addressing.
Xi:
save the Low-Byte of obtained data to Xi.
Note: NX1 does not support this command.
4.16.10 TableH(TableName, Rx/Xx, Ry/Xy, Xi)
TableH(TableName, Rx/Xx, Ry/Xy, Xi) is the in-direct data addressing command. It could read the
High-Byte of entry of table defined in the
[Table]
section.
TableName:
name of table defined in
[Table]
.
Rx/Xx:
the content of Xx represents the address of X axis. User can use 4-bit or 8-bit variable
addressing.
Ry/Xy:
the content of Xy represents the address of Y axis. User can use 4-bit or 8-bit variable
addressing.
Xi:
save the High-Byte of obtained data to Xi.
Note: NX1 does not support this command.