unittests/ASM: Test cmpxchg with eax as destination

This commit is contained in:
Simon Scherer committed 2026-07-08 14:52:19 +02:00
1 parent 71d4e2c320
commit 59097bab20
1 file changed
+15
+15
View File
@@ -0,0 +1,15 @@
%ifdef CONFIG
{
"RegData": {
"RAX": "0x00000000ccddff00",
"RBX": "0x8899aabbccddff00"
}
}
%endif
mov rax, 0x0011223344556677
mov rbx, 0x8899AABBCCDDFF00
cmpxchg eax, ebx
hlt