ref: 2c616f66467f5e2708b7f8f46d96469181c4c406
parent: 6c5e542c0d28405f0d96ee712bfad90bdc4b4af5
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Sep 19 16:40:05 EDT 2019
[as/x86] Add more comments in the opcode table
--- a/src/cmd/as/target/x86/x86.dat
+++ b/src/cmd/as/target/x86/x86.dat
@@ -28,6 +28,10 @@
# 8 bit arithmetic operations
ADDB reg8,reg8 2 0x00 reg8_reg8 I286,I386,AMD64
ADDB imm8,reg8 3 0x80 imm8_reg8 I286,I386,AMD64
+
+# 16 bit arithmetic operations
ADDW reg16,reg16 2 0x01 reg16_reg16 I286
ADDW reg16,reg16 3 0x66,0x01 reg16_reg16 I386,AMD64
+
+# 32 bit arithmetic operations
ADDL reg32,reg32 2 0x01 reg32_reg32 I386,AMD64