about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx')
-rw-r--r--subx/003trace.cc1
-rw-r--r--subx/035labels.cc4
2 files changed, 3 insertions, 2 deletions
diff --git a/subx/003trace.cc b/subx/003trace.cc
index 5ab9e955..fd3d9cf6 100644
--- a/subx/003trace.cc
+++ b/subx/003trace.cc
@@ -126,6 +126,7 @@ struct trace_stream {
     curr_stream = new ostringstream;
     curr_label = label;
     curr_depth = depth;
+    (*curr_stream) << std::hex;
     return *curr_stream;
   }
 
diff --git a/subx/035labels.cc b/subx/035labels.cc
index efab173d..236c8fa2 100644
--- a/subx/035labels.cc
+++ b/subx/035labels.cc
@@ -197,11 +197,11 @@ loop:
             eb                                                                                                              $loop2/disp8
 # address 8
             eb                                                                                                              $loop3/disp8
-# address 10
+# address 0xa
  $loop3:
 +transform: label 'loop' is at address 1
 +transform: label '$loop2' is at address 1
-+transform: label '$loop3' is at address 10
++transform: label '$loop3' is at address a
 # first jump is to -7
 +transform: instruction after transform: 'eb f9'
 # second jump is to 0 (fall through)