about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-06-17 00:24:30 -0700
committerKartik Agaram <vc@akkartik.com>2019-06-17 00:24:30 -0700
commit382029b2c012247e1f2ed7d5ae34082d190e2b89 (patch)
treec1f1c06452fc2a0dd7e29243c8406e2ae2a8d7af /subx
parent01b6cfe49e6cdf14edc8c610a3aefc80edb8e1ad (diff)
downloadmu-382029b2c012247e1f2ed7d5ae34082d190e2b89.tar.gz
bugfix to opcode 8f; it requires subops
Diffstat (limited to 'subx')
-rw-r--r--subx/031check_operands.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/subx/031check_operands.cc b/subx/031check_operands.cc
index 45d9e7e1..7b97d2b1 100644
--- a/subx/031check_operands.cc
+++ b/subx/031check_operands.cc
@@ -225,12 +225,11 @@ void init_permitted_operands() {
   put(Permitted_operands, "87", 0x01);
   // copy address (lea)
   put(Permitted_operands, "8d", 0x01);
-  // pop
-  put(Permitted_operands, "8f", 0x01);
 
   //// Class N: op, ModR/M and subop (not r32)
   //  imm32 imm8  disp32 |disp16  disp8 subop modrm
   //  0     0     0      |0       0     1     1
+  put(Permitted_operands, "8f", 0x03);  // pop
   put(Permitted_operands, "d3", 0x03);  // shift
   put(Permitted_operands, "f7", 0x03);  // test/not/mul/div
   put(Permitted_operands, "ff", 0x03);  // jump/push/call
aram <vc@akkartik.com> 2015-05-05 21:17:24 -0700 committer Kartik K. Agaram <vc@akkartik.com> 2015-05-05 21:17:24 -0700 1276 - make C++ version the default' href='/akkartik/mu/commit/vimrc.vim?h=main&id=b96af395b9af2ff9df94b3e82213171f30827c8d'>b96af395 ^
94fa5c95 ^
9a81d746 ^
3e1349d2 ^





1ae4e0d9 ^
3e1349d2 ^





b3cdcdd4 ^
a9817844 ^



b96af395 ^






1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53