scc

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

commit 0ed3dcecf30d55c64e5e9650e22553a7714e6ddb
parent 25f8a36bd65b91a403016fabc7d3e8fc15575c3b
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed,  6 Oct 2021 20:09:47 +0200

as/x86: Add references to ins.c

These references are usually basic to be able to understand
the source code.

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

diff --git a/src/cmd/as/target/x86/ins.c b/src/cmd/as/target/x86/ins.c @@ -8,6 +8,13 @@ #define addrbyte(mod, reg, rm) ((mod) << 6 | (reg) << 3 | (rm)) +/* + * This implementation is based in: + * - x86 Opcode Structure and Instruction Overview - Fraunhofer-Institut + * fÜr kommunikation, informationsverarbeitung und ergonomie fkie. + * - Intel® 64 and IA-32 Architectures Software Developer’s Manual. + * - Encoding Real x86 Instructions - CIS-77 lectures. + */ enum addr_mode { MEM_MODE = 0, MEM8_MODE = 1,