scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 1f0c930bc6f1bda3337f5b29e1787791bcec4a9f
parent d23cd64c95e731617ed7906bbe033d6b3ab43bfa
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 19 Sep 2019 20:40:05 +0200

[as/x86] Add more comments in the opcode table

Diffstat:
Msrc/cmd/as/target/x86/x86.dat | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/cmd/as/target/x86/x86.dat b/src/cmd/as/target/x86/x86.dat @@ -28,6 +28,10 @@ RET none 1 0xc3 noargs I286,I386,AMD64 # 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