mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 09:00:17 +02:00
unittests/ASM: Test FST ST(0) tag word update
This commit is contained in:
1 parent
a454845ffd
commit
ed3fa2f1c6
1 file changed
+27
@@ -0,0 +1,27 @@
|
||||
%ifdef CONFIG
|
||||
{
|
||||
"RegData": {
|
||||
"RAX": "0x1"
|
||||
}
|
||||
}
|
||||
%endif
|
||||
|
||||
|
||||
fxrstor [rel .fxsave_data]
|
||||
fst st0
|
||||
|
||||
fxsave [rel .save]
|
||||
movzx eax, byte [rel .save + 4]
|
||||
|
||||
hlt
|
||||
|
||||
align 16
|
||||
.fxsave_data:
|
||||
dw 0x037f ; FCW
|
||||
dw 0x0000 ; FSW
|
||||
dw 0x0000 ; FTW
|
||||
times 506 db 0
|
||||
|
||||
align 16
|
||||
.save:
|
||||
times 64 dq 0
|
||||
Reference in new issue
Block a user