mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 09:00:17 +02:00
asm_tests: FEXCore: Fix initial PF flag value
This commit is contained in:
1 parent
eb6c050cf0
commit
ec2d1547c9
1 file changed
+18
@@ -0,0 +1,18 @@
|
||||
%ifdef CONFIG
|
||||
{
|
||||
"RegData": {
|
||||
"RAX": "0x202"
|
||||
}
|
||||
}
|
||||
%endif
|
||||
|
||||
mov rsp, 0xe0000010
|
||||
|
||||
pushfq
|
||||
pop rax
|
||||
|
||||
; Mask out only the flags we care about (ignore undefined bits)
|
||||
; Keep: CF(0), PF(2), AF(4), ZF(6), SF(7), IF(9), DF(10), OF(11), reserved(1)
|
||||
and rax, 0xED7
|
||||
|
||||
hlt
|
||||
Reference in new issue
Block a user