Knowledge Base

[bb]:ss = 0

Clear 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 and the use of semaphores in the MultiTrack 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:iClrS

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