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:
H. Peter Anvin 2008-10-08 23:30:41 -07:00
parent ff6e12da50
commit c3ba3acf70

17
test/pushseg.asm Normal file
View 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