Skip to content

Commit 4b0f0d6

Browse files
committed
Fix crash in assembly code test
1 parent 822e316 commit 4b0f0d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/asmtest_x64.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ default rel
2323
start:
2424
%endif
2525

26-
nop
26+
and rsp, 0xfffffffffffffff0
2727
call bounce
2828
nop
2929
call bounce

src/asmtest_x86.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ default rel
2020
_start:
2121
%endif
2222

23-
nop
23+
and esp, 0xfffffff0
2424
call bounce
2525
nop
2626
call bounce

0 commit comments

Comments
 (0)