diff --git a/instructions.h b/instructions.h index 4a0858e..14a9faf 100644 --- a/instructions.h +++ b/instructions.h @@ -66,8 +66,6 @@ void add_ev_gv() { } update_flags_add16(ev_value, gv_value, result); - std::cout << "AX = " << std::hex << AX.value - << " (AL=" << (int)AX.low << ")\n"; } void hlt() { diff --git a/main.cpp b/main.cpp index e116ec2..ec94e32 100644 --- a/main.cpp +++ b/main.cpp @@ -19,8 +19,6 @@ void emulate() { int main(int argc, char* argv[]) { CS = 0x0000; IP = 0x0000; - AX.value = 0x7fff; - BX.value = 0x7fff; if (argc < 2) { std::cerr << "usage: " << argv[0] << "\n";