Merge pull request #241 from tkchia/tkchia/switch-long

mach/i86/libem/csb4.s: fix incorrect i86 code for switch (long)
This commit is contained in:
David Given 2022-01-18 00:34:27 +01:00 committed by GitHub
commit 7e2adfb692
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@
jne 1b jne 1b
cmp dx,2(bx) cmp dx,2(bx)
jne 1b jne 1b
pop bx pop cx
mov bx,4(bx) mov bx,4(bx)
2: 2:
test bx,bx test bx,bx