cmp should use 0 immediate not 0 address.

This commit is contained in:
Andrius Štikonas 2024-10-24 22:24:13 +01:00
parent 1f272f9050
commit b120a39ec6
2 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ tcc does not like jecxz instruction.
__sigsetjmp:
mov 8(%esp),%ecx
- jecxz 1f
+ cmp %ecx,0
+ cmp $0,%ecx
+ je 1f
mov 4(%esp),%eax