about summary refs log tree commit diff stats
path: root/subx/013direct_addressing.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-05-12 13:27:14 -0700
committerKartik Agaram <vc@akkartik.com>2019-05-12 13:27:14 -0700
commit4847a5e615bb2393e537295d02a57005a2b2140c (patch)
treef51ba4ca75bb6360cc01b1afc4148b85c2952cda /subx/013direct_addressing.cc
parent8c1a69089bcb0be8ee869a3f83c3151a7083e27c (diff)
downloadmu-4847a5e615bb2393e537295d02a57005a2b2140c.tar.gz
.
Drop some prints as a first step to straightening things out.
Diffstat (limited to 'subx/013direct_addressing.cc')
-rw-r--r--subx/013direct_addressing.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/subx/013direct_addressing.cc b/subx/013direct_addressing.cc
index ef5ac752..c94a152d 100644
--- a/subx/013direct_addressing.cc
+++ b/subx/013direct_addressing.cc
@@ -733,7 +733,6 @@ case 0x39: {  // set SF if r/m32 < r32
   trace(Callstack_depth+1, "run") << "compare " << rname(reg2) << " with r/m32" << end();
   const int32_t* signed_arg1 = effective_address(modrm);
   const int32_t signed_arg2 = Reg[reg2].i;
-  cerr << *signed_arg1 << " vs " << signed_arg2 << '\n';
   const int32_t signed_difference = *signed_arg1 - signed_arg2;
   SF = (signed_difference < 0);
   ZF = (signed_difference == 0);
@@ -741,11 +740,8 @@ case 0x39: {  // set SF if r/m32 < r32
   OF = (signed_difference != signed_full_difference);
   const uint32_t unsigned_arg1 = static_cast<uint32_t>(*signed_arg1);
   const uint32_t unsigned_arg2 = static_cast<uint32_t>(signed_arg2);
-  cerr << unsigned_arg1 << " vs " << unsigned_arg2 << '\n';
   const uint32_t unsigned_difference = unsigned_arg1 - unsigned_arg2;
-  cerr << "result: " << unsigned_difference << '\n';
   const uint64_t unsigned_full_difference = unsigned_arg1 - unsigned_arg2;
-  cerr << "full result: " << unsigned_full_difference << '\n';
   CF = (unsigned_difference != unsigned_full_difference);
   trace(Callstack_depth+1, "run") << "SF=" << SF << "; ZF=" << ZF << "; CF=" << CF << "; OF=" << OF << end();
   break;