issues
search
jart
/
blink
tiniest x86-64-linux emulator
ISC License
6.96k
stars
222
forks
source link
Fix handling of `int` instructions for both metal & non-metal
#97
Closed
tkchia
closed
1 year ago
tkchia
commented
1 year ago
int 0
now behaves like a divide by zero in metal mode, but with
cs:ip
pointing
after
the
int 0
In non-metal (Linux) mode,
int
n
with
n
other than 1, 3, or
0x80
, should raise a
SIGSEGV
(
int 0x80
is unimplemented)
int 4
in non-metal mode is a bit of a special case
int 0
now behaves like a divide by zero in metal mode, but withcs:ip
pointing after theint 0
int
n with n other than 1, 3, or0x80
, should raise aSIGSEGV
(int 0x80
is unimplemented)int 4
in non-metal mode is a bit of a special case