MZ is back!
This commit is contained in:
committed by
Microsoft Open Source
parent
8ee9712c74
commit
2d04cacc53
@@ -0,0 +1,20 @@
|
||||
IF1 ;3.30
|
||||
|
||||
SaveReg MACRO reglist ;; push those registers
|
||||
IRP reg,<reglist>
|
||||
?stackdepth = ?stackdepth + 1
|
||||
PUSH reg
|
||||
ENDM
|
||||
ENDM
|
||||
.xcref SaveReg
|
||||
|
||||
|
||||
RestoreReg MACRO reglist ;; pop those registers
|
||||
IRP reg,<reglist>
|
||||
?stackdepth = ?stackdepth - 1
|
||||
POP reg
|
||||
ENDM
|
||||
ENDM
|
||||
.xcref RestoreReg
|
||||
|
||||
ENDIF ;3.30
|
||||
Reference in New Issue
Block a user