diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-07-27 10:58:15 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-07-27 10:58:15 -0700 |
commit | 6b64f8009b9f98e9008be847ce7d475dc321e7de (patch) | |
tree | 6478ab74f54553e7e9b66dbe606d2cab765388d9 /subx/022check_instruction.cc | |
parent | ab2ee1d4afe9cf595fd64ba306c43c3aa4ceb8ce (diff) | |
download | mu-6b64f8009b9f98e9008be847ce7d475dc321e7de.tar.gz |
4437 - support for labels is half-done
Diffstat (limited to 'subx/022check_instruction.cc')
-rw-r--r-- | subx/022check_instruction.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subx/022check_instruction.cc b/subx/022check_instruction.cc index c4b169ff..860921ae 100644 --- a/subx/022check_instruction.cc +++ b/subx/022check_instruction.cc @@ -266,6 +266,7 @@ void init_permitted_operands() { :(code) void check_operands(const line& inst, const word& op) { + if (!is_hex_byte(op)) return; uint8_t expected_bitvector = get(Permitted_operands, op.data); if (HAS(expected_bitvector, MODRM)) check_operands_modrm(inst, op); |