diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-04-21 23:48:39 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-04-21 23:48:39 -0700 |
commit | 91534c2a917a82ff0fa7fbb36471d251c9eab0be (patch) | |
tree | a38d07d7939522da12d94beffff684c7e8bc589c /subx/031check_operands.cc | |
parent | a78deb23b503783e2384ddc4e73c72578cf15894 (diff) | |
download | mu-91534c2a917a82ff0fa7fbb36471d251c9eab0be.tar.gz |
5114 - helper for idiv instruction
Diffstat (limited to 'subx/031check_operands.cc')
-rw-r--r-- | subx/031check_operands.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/subx/031check_operands.cc b/subx/031check_operands.cc index 475cda5c..9590979f 100644 --- a/subx/031check_operands.cc +++ b/subx/031check_operands.cc @@ -141,6 +141,8 @@ void init_permitted_operands() { put(Permitted_operands, "5d", 0x00); put(Permitted_operands, "5e", 0x00); put(Permitted_operands, "5f", 0x00); + // sign-extend EAX into EDX + put(Permitted_operands, "99", 0x00); // return put(Permitted_operands, "c3", 0x00); |