NASM 0.98.03
[nasm/avx512.git] / test / test5.asm
blob12b0ee426f885ad1f9252451a89412036edb9fab
1 %macro pushm 1-*
2 %rep %0
3 %rotate -1
4 push %1
5 %endrep
6 %endmacro
8 %macro popm 1-*
9 %rep %0
10 pop %1
11 %rotate 1
12 %endrep
13 %endmacro
15 %macro pusha 0
16 push ax
17 push cx
18 push dx
19 push bx
20 push bp
21 mov bp,sp
22 lea bp,[bp+10]
23 xchg bp,[bp-10]
24 push bp
25 push si
26 push di
27 %endmacro
29 %macro popa 0
30 pop di
31 pop si
32 pop bp
33 pop bx
34 pop bx
35 pop dx
36 pop cx
37 pop ax
38 %endmacro
40 pushm ax,bx,cx,dx
41 popm ax,bx,cx,dx
42 pusha
43 popa