Q-Code User Manual
Ver. 7.0 2021/11/30
132
4.2.3 Px != data?Path
Jump to Path when the value of Px is not equal to data.
Ex.
PA != 3? Path
; Jump to Path if the value of PA is not 3.
4.2.4 Px.n = 0?Path
Jump to Path when the value of the n
th
pin of Px is 0.
Ex.
PA.0 = 0? Path
; Jump to Path if the value of PA.0 is 0.
4.2.5 Px.n != 0?Path
Jump to Path when the value of the n
th
pin of Px is not 0.
Ex.
PA.0 != 0? Path
; Jump to Path if the value of PA.0 is not 0.
4.2.6 Px.n = 1?Path
Jump to Path when the value of the n
th
pin of Px is 1.
Ex.
PA.0 = 1? Path
; Jump to Path if the value of PA.0 is 1.
4.2.7 Px.n != 1?Path
Jump to Path when the value of the n
th
pin of Px is not 1.
Ex.
PA.0 != 1? Path
; Jump to Path if the value of PA.0 is not 1
4.2.8 Px[1 X 0 X]?Path
User can use this command for reading designated IO Pin of Port, and jump to the corresponding path.
Ex.
Read PB.1 and PB.3.
TR1: PB[1 X 0 X]?True
; Jump to “True” path if PB.3=1 and PB.1=0
True: PlayV(Ch0, $V0)
4.2.9 Vol = n?Path
Jump to Path if currently volume equals to n. n=0~15.
Note: NY4 / NY9T do not support this command.
Ex.
Vol=5?True
; Jump to “True” path if volume is at level 5.
4.2.10 Vol != n?Path
Jump to Path if currently volume does not equal to n. n=0~15.