SMAC
LAC-25 Technical Reference Manual
61
Command:
RC
-- Return from Macro Call --
When executed, this command will cause immediate return to the calling macro (assuming
there was one).
Related Commands: MC, interrupts
Command:
RMn
-- Reset Macro(s) --
Argument:
0 <= n < 255
This command is used to delete one or more macros. If an argument is used, the macro
specified by 'n' will be deleted and the memory it used will be lost. If no argument is used, a l l
macros will be deleted, and all macro memory will be recovered. A Reset Macro command (RM)
should be used before entering or downloading a new set of macro commands.
Related Commands: MD
Command:
TMn
-- Tell Macros --
Argument:
-2 <= n <= 255
The Tell Macro (TM) command will display the commands which make up any macros that
have been defined. If 'n' >= 0 and 'n' <= 255, then the macro specified by 'n' be displayed. If 'n' = -
1, then all the macros will be displayed preceded by the individual macro number. If 'n' =-2, then
all macros will be displayed and will be preceded by the letters "MD" and the individual macro
number. This is useful when downloading programs from the LAC-25 to a computer in that you
need not re-enter the Macro Define (MD) command and number at the beginning of each macro.
Related Commands: MD
Command:
UMn
-- Un-push Macro(s) --
Argument:
0 or 1
This command is used for controlling the macro subroutine call and return stack. If this
command is used with no argument or an argument of "0" then one macro will be removed from
the macro stack. If there is no macro to be removed then a MACRO_STACK_UNDERFLOW error
will be reported. If the argument is "1" then the macro stack will be completely reset. The UM
command is used in the event that a macro is paused due to a program interrupt and it is not
desirable to return to that macro, or under some circumstances, a program may need to completely
reset itself.
Related Commands: MC, interrupts