Q-Code User Manual
Ver. 7.0 2021/11/30
149
4.3.31 Px = Py & data
Py AND data, and then assign output value to Px.
Ex.
PB=0x3, PB=PB&0x4
; PB=0x0
4.3.32 Ri = Px + data
Sum up the values of Px and data and keep it in Ri.
Ex.
PB=0x3, R1=PB+0x4
; R1=0x7
4.3.33 Ri = Px – data
Subtract data from Px and keep the result in Ri.
Ex.
PB=0x3, PB=PB-0x2
; R1=0x1
4.3.34 Ri = Px | data
Px OR data and keep the result in Ri.
Ex.
PB=0x3, R1=PB | 0x4
; R1=0x7
4.3.35 Ri = Px ^ data
Px XOR data and keep the result in Ri.
Ex.
PB=0x3, R1=PB^0x4
; R1=0x7
4.3.36 Ri = Px & data
Px AND data and keep the result in Ri.
Ex.
PB=0x3, R1=PB&0x4
; R1=0x0
4.3.37 Px = [1 X 0 FD An Q ]
This command is used to control output of Px. Accepted output types are as follow:
Parameter
說明
X
Indicating the pin maintains the original output signal.
0
Indicating the pin is with low electric potential output.
1
Indicating the pin is with high electric potential output.
An
Indicating the pin is corresponding to which ActionLabel (This function is only available
for playing entire .vio file,
NY4 / NY5 / NY5+ / NY6 / NY7 / NY9T Only
).