about summary refs log tree commit diff stats
path: root/subx/017jump_relative.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-07-27 11:55:47 -0700
committerKartik Agaram <vc@akkartik.com>2018-07-27 11:55:47 -0700
commit069ed1c879866673ce51dfccfb6b78f8055aeb4d (patch)
treed36c4b00786bb8277349c13a46ef407941496c9d /subx/017jump_relative.cc
parent7c22499166a6a1c8cd43b23f360ff4942d435178 (diff)
downloadmu-069ed1c879866673ce51dfccfb6b78f8055aeb4d.tar.gz
4442
Clean up trace levels everywhere in SubX.
Diffstat (limited to 'subx/017jump_relative.cc')
-rw-r--r--subx/017jump_relative.cc14
1 files changed, 7 insertions, 7 deletions
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;