about summary refs log tree commit diff stats
path: root/subx/opcodes
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-04-21 23:35:23 -0700
committerKartik Agaram <vc@akkartik.com>2019-04-21 23:35:23 -0700
commita78deb23b503783e2384ddc4e73c72578cf15894 (patch)
tree50d13135398ecff82417d6f21bc7d6b5b6ca923a /subx/opcodes
parent0824f5df851772b4d2804b89a837dd2ebf1c1f0e (diff)
downloadmu-a78deb23b503783e2384ddc4e73c72578cf15894.tar.gz
5113 - x86's integer division (idiv) instruction
Diffstat (limited to 'subx/opcodes')
-rw-r--r--subx/opcodes2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/opcodes b/subx/opcodes
index 0eb0792b..2a11df2b 100644
--- a/subx/opcodes
+++ b/subx/opcodes
@@ -82,7 +82,7 @@ Opcodes currently supported by SubX:
   e9: jump disp32 bytes away (jmp)
   eb: jump disp8 bytes away (jmp)
   f4: halt (hlt)
-  f7: negate/multiply rm32 (with EAX if necessary) depending on subop (neg/mul)
+  f7: negate/multiply/divide rm32 (with EAX and EDX if necessary) depending on subop (neg/mul/idiv)
   ff: increment/decrement/jump/push/call rm32 based on subop (inc/dec/jmp/push/call)
   0f 84: jump disp32 bytes away if equal, if ZF is set (jcc/jz/je)
   0f 85: jump disp32 bytes away if not equal, if ZF is not set (jcc/jnz/jne)