Knowledge Base

[bb]:ss = 1

Set semaphore ss, counting from base address bb. The base address bb is optional; if omitted it is taken to be 0.

For more details see the semaphore tutorial.

This instruction can be indexed by adding an ‘i’ in front of the instruction keyword. Indexing adds the contents of the index register I to the base address bb. That means it modifies the byte base address, not the bit address.

+ 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.

The following is illegal: IasJ:iSetS

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