summaryrefslogtreecommitdiff
path: root/v4.0/src/MAPPER/MACROS.INC
diff options
context:
space:
mode:
Diffstat (limited to 'v4.0/src/MAPPER/MACROS.INC')
-rw-r--r--v4.0/src/MAPPER/MACROS.INC46
1 files changed, 46 insertions, 0 deletions
diff --git a/v4.0/src/MAPPER/MACROS.INC b/v4.0/src/MAPPER/MACROS.INC
new file mode 100644
index 0000000..0fdf4c3
--- /dev/null
+++ b/v4.0/src/MAPPER/MACROS.INC
@@ -0,0 +1,46 @@
1;
2 if1
3 %out macros.inc
4 endif
5
6
7pushal macro
8 push bx
9 push cx
10 push dx
11 push si
12 push di
13 push ds
14 push es
15 push ss
16 push bp
17 endm
18;
19popal macro
20 pop bp
21 pop ss
22 pop es
23 pop ds
24 pop di
25 pop si
26 pop dx
27 pop cx
28 pop bx
29 endm
30;
31Enter macro Routine
32
33 push bp
34 mov bp,sp
35 pushal
36
37 endm
38;
39Mexit macro
40
41 popal
42 mov sp,bp
43 pop bp
44
45 endm
46 \ No newline at end of file