mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-17 17:19:35 +08:00
test/pushseg.asm: test for push/pop of segment registers
Simple test for push/pop of segment registers. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
ff6e12da50
commit
c3ba3acf70
17
test/pushseg.asm
Normal file
17
test/pushseg.asm
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
;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, not implemented
|
Loading…
Reference in New Issue
Block a user