Previous Topic

Next Topic

Book Contents

Book Index

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

Retrieve the memory address stored in RAM at mm and mm+1, and jump to that address.

See also Suspend

Note: If the address retrieved contains 0, indicating it has not been initialized, the instruction will "fall through" so the following instruction is executed.

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