Previous Topic

Next Topic

Book Contents

Book Index

Suspend mm*+ [D>=12/15]

Save the memory address of the next line of code in RAM at mm and mm+1, and then perform a Return operation.

See also Resume

This is a special instruction used specifically for implementing multitasking programs. Multitasking tutorial

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

Indexing: From dialect 15 this instruction can be indexed by adding 'i' in front of it. Because suspend/resume addresses occupy 2 bytes of RAM, the index register is multiplied by 2 before being applied to mm.

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

Note: This method of multitasking, introduced in dialect 12, is rendered largely obsolete by the MultiTrack system introduced in dialect 16.

Previous Topic

Next Topic