about summary refs log tree commit diff stats
path: root/subx/031check_operands.cc
diff options
context:
space:
mode:
Diffstat (limited to 'subx/031check_operands.cc')
-rw-r--r--subx/031check_operands.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/subx/031check_operands.cc b/subx/031check_operands.cc
index 5f99f7b0..f24eb62c 100644
--- a/subx/031check_operands.cc
+++ b/subx/031check_operands.cc
@@ -214,6 +214,8 @@ void init_permitted_operands() {
   put(Permitted_operands, "8b", 0x01);
   // swap
   put(Permitted_operands, "87", 0x01);
+  // lea
+  put(Permitted_operands, "8d", 0x01);
   // pop
   put(Permitted_operands, "8f", 0x01);