mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 09:00:40 +02:00
This only tests to ensure we are pushing the correct amount data rather than the segment registers being correct. Bit difficult to test for anything other than null descriptor
30 lines
361 B
NASM
30 lines
361 B
NASM
%ifdef CONFIG
|
|
{
|
|
"RegData": {
|
|
"RSP": "0xE000001C"
|
|
},
|
|
"Mode": "32BIT"
|
|
}
|
|
%endif
|
|
|
|
mov esp, 0xe0000040
|
|
|
|
; Only push the segments
|
|
; Doesn't check for a correct segment value
|
|
; Just ensures we are pushing the correct amount of data
|
|
push cs
|
|
push ss
|
|
push ds
|
|
push es
|
|
push fs
|
|
push gs
|
|
|
|
o16 push cs
|
|
o16 push ss
|
|
o16 push ds
|
|
o16 push es
|
|
o16 push fs
|
|
o16 push gs
|
|
|
|
hlt
|