about summary refs log tree commit diff stats
path: root/subx/022check_instruction.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-07-30 09:56:53 -0700
committerKartik Agaram <vc@akkartik.com>2018-07-30 09:56:53 -0700
commit126b4144013114705604fb7c9dc323bc9b4e6ea2 (patch)
treecce0c64877eb59be1823cf1a2285f57e50452e28 /subx/022check_instruction.cc
parent5cea4ef897c0aac2b35315c4208140e0ed66bd34 (diff)
downloadmu-126b4144013114705604fb7c9dc323bc9b4e6ea2.tar.gz
4450
Diffstat (limited to 'subx/022check_instruction.cc')
-rw-r--r--subx/022check_instruction.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/subx/022check_instruction.cc b/subx/022check_instruction.cc
index 31834b38..a4a4ec14 100644
--- a/subx/022check_instruction.cc
+++ b/subx/022check_instruction.cc
@@ -558,6 +558,11 @@ put(Permitted_operands_0f, "8d", 0x08);
 put(Permitted_operands_0f, "8e", 0x08);
 put(Permitted_operands_0f, "8f", 0x08);
 
+//// Class M: using ModR/M byte
+//  imm32 imm8  disp32 |disp16  disp8 subop modrm
+//  0     0     0      |0       0     0     1
+put(Permitted_operands_0f, "af", 0x01);
+
 :(code)
 void check_operands_0f(const line& inst, const word& op) {
   uint8_t expected_bitvector = get(Permitted_operands_0f, op.data);