diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-09-29 12:06:28 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-09-29 17:44:50 -0700 |
commit | ef79039287b7a76f4fcb0628a6295582d8caf768 (patch) | |
tree | 15cccf34d0a8a451c95e16bb8ae05e2e389d4fd1 /subx/036global_variables.cc | |
parent | 8fb01417031f2c6eaa8af505112ed1bb1a51ea21 (diff) | |
download | mu-ef79039287b7a76f4fcb0628a6295582d8caf768.tar.gz |
4616 - fix subx/examples/ex7
It was broken since I added support for global variables, back on Sep 1. One other subtle thing I've improved is the name `looks_like_hex_int`. We can now distinguish in the pack-operands transform between ignoring 'foo' because it doesn't look like a number, and immediately flagging '0xfoo' as an error because it *should* be a number.
Diffstat (limited to 'subx/036global_variables.cc')
-rw-r--r-- | subx/036global_variables.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/036global_variables.cc b/subx/036global_variables.cc index c565014f..f278ee29 100644 --- a/subx/036global_variables.cc +++ b/subx/036global_variables.cc @@ -4,7 +4,7 @@ //: However, they can only be used in imm32 and not disp32 operands. And they //: can't be used with jump and call instructions. //: -//: This layer much the same structure as rewriting labels. +//: This layer has much the same structure as rewriting labels. :(scenario global_variable) == code |