test: nasm-t -- Add br3392252
[nasm.git] / test / ret.asm
bloba6aa53326f999cf013b90ee413c56fcbad08f68d
1 ;; All the flavors of RET
2 %ifndef ERROR
3 %define ERROR 0
4 %endif
7 bits 16
9 ret
10 retn
11 retf
12 retw
13 retnw
14 retfw
15 retd
16 retnd
17 retfd
18 %if ERROR
19 retq
20 retnq
21 retfq
22 %endif
24 bits 32
26 ret
27 retn
28 retf
29 retw
30 retnw
31 retfw
32 retd
33 retnd
34 retfd
35 %if ERROR
36 retq
37 retnq
38 retfq
39 %endif
41 bits 64
43 ret
44 retn
45 retf ; Probably should have been RETFQ, but: legacy...
46 retw
47 retnw
48 retfw
49 %if ERROR
50 retd
51 retnd
52 %endif
53 retfd
54 retq
55 retnq
56 retfq