From 069ed1c879866673ce51dfccfb6b78f8055aeb4d Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 27 Jul 2018 11:55:47 -0700 Subject: 4442 Clean up trace levels everywhere in SubX. --- subx/017jump_relative.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'subx/017jump_relative.cc') diff --git a/subx/017jump_relative.cc b/subx/017jump_relative.cc index e13c1ac7..1cbb50a4 100644 --- a/subx/017jump_relative.cc +++ b/subx/017jump_relative.cc @@ -19,7 +19,7 @@ put(name, "e9", "jump disp16 bytes away"); :(before "End Single-Byte Opcodes") case 0xe9: { // jump rel8 int16_t offset = imm16(); - trace(2, "run") << "jump " << offset << end(); + trace(90, "run") << "jump " << offset << end(); EIP += offset; break; } @@ -51,7 +51,7 @@ put(name_0f, "84", "jump disp16 bytes away if ZF is set"); case 0x84: { // jump rel16 if ZF int8_t offset = imm16(); if (ZF) { - trace(2, "run") << "jump " << NUM(offset) << end(); + trace(90, "run") << "jump " << NUM(offset) << end(); EIP += offset; } break; @@ -90,7 +90,7 @@ put(name_0f, "85", "jump disp16 bytes away if ZF is not set"); case 0x85: { // jump rel16 unless ZF int8_t offset = imm16(); if (!ZF) { - trace(2, "run") << "jump " << NUM(offset) << end(); + trace(90, "run") << "jump " << NUM(offset) << end(); EIP += offset; } break; @@ -131,7 +131,7 @@ put(name_0f, "8f", "jump disp16 bytes away if greater (ZF is unset, SF == OF)"); case 0x8f: { // jump rel16 if !SF and !ZF int8_t offset = imm16(); if (!ZF && SF == OF) { - trace(2, "run") << "jump " << NUM(offset) << end(); + trace(90, "run") << "jump " << NUM(offset) << end(); EIP += offset; } break; @@ -173,7 +173,7 @@ put(name_0f, "8d", "jump disp16 bytes away if greater or equal (SF == OF)"); case 0x8d: { // jump rel16 if !SF int8_t offset = imm16(); if (SF == OF) { - trace(2, "run") << "jump " << NUM(offset) << end(); + trace(90, "run") << "jump " << NUM(offset) << end(); EIP += offset; } break; @@ -215,7 +215,7 @@ put(name_0f, "8c", "jump disp16 bytes away if lesser (SF != OF)"); case 0x8c: { // jump rel16 if SF and !ZF int8_t offset = imm16(); if (SF != OF) { - trace(2, "run") << "jump " << NUM(offset) << end(); + trace(90, "run") << "jump " << NUM(offset) << end(); EIP += offset; } break; @@ -272,7 +272,7 @@ put(name_0f, "8e", "jump disp16 bytes away if lesser or equal (ZF is set or SF ! case 0x8e: { // jump rel16 if SF or ZF int8_t offset = imm16(); if (ZF || SF != OF) { - trace(2, "run") << "jump " << NUM(offset) << end(); + trace(90, "run") << "jump " << NUM(offset) << end(); EIP += offset; } break; -- cgit 1.4.1-2-gfad0