diff options
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); |