as: MIPS Option Stack
1
1 9.27.11 Directives to save and restore options
1 ----------------------------------------------
1
1 The directives '.set push' and '.set pop' may be used to save and
1 restore the current settings for all the options which are controlled by
1 '.set'. The '.set push' directive saves the current settings on a
1 stack. The '.set pop' directive pops the stack and restores the
1 settings.
1
1 These directives can be useful inside an macro which must change an
1 option such as the ISA level or instruction reordering but does not want
1 to change the state of the code which invoked the macro.
1
1 Traditional MIPS assemblers do not support these directives.
1