Knowledge Base

PC = ([ss:bb] != 0) ? LLLL : (PC + 1)

Go to line LLLL if semaphore ss is true. The semaphore base address bb is optional; if omitted it is taken to be 0. To omit the base address you can write either ss,,LLLL or ss,LLLL

+ From dialect 16 the address argument will be jndexed when executed inside a MultiTrack task and will be indexed if the instruction is preceded by the IasJ: precode.

For more details see the semaphore tutorial.

Dialect restriction: Available only in boards with dialect 12 or greater.