diff options
Diffstat (limited to 'emulate/emulator.cpp')
| -rw-r--r-- | emulate/emulator.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/emulate/emulator.cpp b/emulate/emulator.cpp index 8c606a5..805b305 100644 --- a/emulate/emulator.cpp +++ b/emulate/emulator.cpp @@ -263,6 +263,11 @@ void Emulator::handle_I_PUSH(_DInst inst) } } +void Emulator::handle_I_CLD(_DInst inst) +{ + cpu.df() = 0; +} + void Emulator::int_0x21() { switch(cpu.ah()) { //Dos Version @@ -339,6 +344,7 @@ Emulator::Emulator(binparse::Offset32 init_eip, binparse::Offset32 init_esp, std REGISTER_HANDLER(I_OR ); REGISTER_HANDLER(I_ADD ); REGISTER_HANDLER(I_PUSH); + REGISTER_HANDLER(I_CLD ); #undef REGISTER_HANDLER @@ -353,6 +359,7 @@ Emulator::Emulator(binparse::Offset32 init_eip, binparse::Offset32 init_esp, std REGISTER_GETTER(R_BX, bx ); REGISTER_GETTER(R_EBX, ebx); + REGISTER_GETTER(R_CL, cl ); REGISTER_GETTER(R_CX, cx ); REGISTER_GETTER(R_ECX, ecx); |
