about summary refs log tree commit diff stats
path: root/033check_operands.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-08-22 14:35:44 -0700
committerKartik Agaram <vc@akkartik.com>2020-08-22 14:35:44 -0700
commit15b9880136b6b4754a6e6498c81932e553246d9f (patch)
tree2ad3b055a2383ffbd980193310e0775b1d0c170c /033check_operands.cc
parentdb894e7968808512392c46d62b2bee68b891db04 (diff)
downloadmu-15b9880136b6b4754a6e6498c81932e553246d9f.tar.gz
6727 - bugfix in a multiply instruction
Also more error-detection for this case all across the toolchain.
Diffstat (limited to '033check_operands.cc')
-rw-r--r--033check_operands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/033check_operands.cc b/033check_operands.cc
index 28a7458e..f46176c7 100644
--- a/033check_operands.cc
+++ b/033check_operands.cc
@@ -379,7 +379,7 @@ void check_operands_modrm(const line& inst, const word& op) {
   check_operand_metadata_present(inst, "mod", op);
   check_operand_metadata_present(inst, "rm32", op);
   // no check for r32; some instructions don't use it; just assume it's 0 if missing
-  if (op.data == "81" || op.data == "8f" || op.data == "ff") {  // keep sync'd with 'help subop'
+  if (op.data == "81" || op.data == "8f" || op.data == "f7" || op.data == "ff") {  // keep sync'd with 'help subop'
     check_operand_metadata_present(inst, "subop", op);
     check_operand_metadata_absent(inst, "r32", op, "should be replaced by subop");
   }