Q-Code User Manual
Ver. 7.0 2021/11/30
219
4.16 Table Command
Table Command
TableL(TableName, Rx/Xx, Ry/Xy, Ri)
TableM(TableName, Rx/Xx, Ry/Xy, Ri)
TableH(TableName, Rx/Xx, Ry/Xy, Ri)
Table(TableName, Rx/Xx, Ry/Xy, Rh, Rm, Rl)
Table(TableName, X, Y, Rh, Rm, Rl)
TableL(TableName, Rx/Xx, Ry/Xy, Xi)
TableH(TableName, Rx/Xx, Ry/Xy, Xi)
Table(TableName, Rx/Xx, Ry/Xy, Xh, Xl)
Table(TableName, X, Y, Xh, Xl)
4.16.1 TableL(TableName, Rx/Xx, Ry/Xy, Ri)
TableL(TableName, Rx/Xx, Ry/Xy, Ri) command is for indirect data addressing and it can be used to
read the Low-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 Low-Nibble of obtained data to Ri.
Note: NX1 does not support this command.
4.16.2 TableM(TableName, Rx/Xx, Ry/Xy, Ri)
TableM(TableName, Rx/Xx, Ry/Xy, Ri) command is for indirect data addressing and it can be used to
read the Middle-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 Middle-Nibble of obtained data to Ri.
Note: NX1 does not support this command.
4.16.3 TableH(TableName, Rx/Xx, Ry/Xy, Ri)
TableH(TableName, Rx/Xx, Ry/Xy, Ri) command is for indirect data addressing and it can be used to