ft: implement CALL and JMP instructions

This commit is contained in:
2025-05-14 11:57:00 +09:00
parent 38a2782cc6
commit 4252986b7e
2 changed files with 20 additions and 2 deletions

View File

@@ -199,7 +199,12 @@ pub enum Mnemonic {
CBW,
CWD,
// CALL
CALL(Pointer),
CALL_p(Pointer),
CALL_v(Word),
// JUMP
JMP_p(Pointer),
JMP_b(Byte),
JMP_v(Word),
// WAIT
WAIT,
// Push/Pop Flags
@@ -234,6 +239,8 @@ pub enum Mnemonic {
// DIV
DIV(ModRmTarget),
IDIV(ModRmTarget),
// HALT
HLT,
// INT
INT(Byte),
}