mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-15 09:09:58 +08:00
aac7c0c174
"pop cs" is an 8086-only opcode; we support it for assembly but not for disassembly. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
18 lines
228 B
NASM
18 lines
228 B
NASM
;Testname=test; Arguments=-fbin -opushseg.bin; Files=stdout stderr pushseg.bin
|
|
|
|
bits 16
|
|
|
|
push cs
|
|
push ds
|
|
push es
|
|
push ss
|
|
push fs
|
|
push gs
|
|
|
|
pop gs
|
|
pop fs
|
|
pop ss
|
|
pop es
|
|
pop ds
|
|
pop cs ; 8086 only, does not disassemble
|