about summary refs log tree commit diff stats
path: root/subx/036global_variables.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-11-19 14:12:52 -0800
committerKartik Agaram <vc@akkartik.com>2018-11-19 14:12:52 -0800
commite3c331d0a620b172966bd53a76387f1d837ec418 (patch)
tree0d966e90340ee9835c434d7122653d03fcef8925 /subx/036global_variables.cc
parent565156761c1b15ab468deb3a442a7c757b3c0f98 (diff)
downloadmu-e3c331d0a620b172966bd53a76387f1d837ec418.tar.gz
4753
Diffstat (limited to 'subx/036global_variables.cc')
-rw-r--r--subx/036global_variables.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/subx/036global_variables.cc b/subx/036global_variables.cc
index 5281b545..f1fdd963 100644
--- a/subx/036global_variables.cc
+++ b/subx/036global_variables.cc
@@ -11,7 +11,7 @@
 b9  x/imm32
 == data
 x:
-00 00 00 00
+  00 00 00 00
 +transform: global variable 'x' is at address 0x0a000079
 
 :(before "End Level-2 Transforms")
@@ -132,7 +132,7 @@ bool has_metadata(const word& w, const string& m) {
 eb/jump  x/disp8
 == data
 x:
-00 00 00 00
+  00 00 00 00
 +error: 'eb/jump x/disp8': can't refer to global variable 'x'
 # sub-optimal error message; should be
 #? +error: can't jump to data (variable 'x')
@@ -143,7 +143,7 @@ x:
 e8/call  x/disp32
 == data
 x:
-00 00 00 00
+  00 00 00 00
 +error: 'e8/call x/disp32': can't refer to global variable 'x'
 # sub-optimal error message; should be
 #? +error: can't call to the data segment ('x')
@@ -153,14 +153,14 @@ x:
 8b/copy 0/mod/indirect 5/rm32/.disp32 2/r32/EDX x/disp32
 == data
 x:
-00 00 00 00
+  00 00 00 00
 $error: 0
 
 :(scenarios transform)
 :(scenario disp32_data_with_call)
 == code
 foo:
-e8/call bar/disp32
+  e8/call bar/disp32
 bar:
 $error: 0