From 45a6bcc3ee773f19ebdfc8d4c04e5d0bf598dd45 Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Mon, 15 Dec 2014 06:20:17 +0000 Subject: [PATCH 1/2] liblink/asm7.c: add a little bit of helpful text to aide the reader of Optab --- src/liblink/asm7.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/liblink/asm7.c b/src/liblink/asm7.c index d48222e2e61d5..9ebf33418f7a3 100644 --- a/src/liblink/asm7.c +++ b/src/liblink/asm7.c @@ -151,6 +151,8 @@ enum }; static Optab optab[] = { + /* struct Optab: + OPCODE, from, prog->reg, to, type,size,param,flag */ { ATEXT, C_LEXT, C_NONE, C_LCON, 0, 0, 0 }, { ATEXT, C_LEXT, C_REG, C_LCON, 0, 0, 0 }, { ATEXT, C_ADDR, C_NONE, C_LCON, 0, 0, 0 }, From 5aa956d8d96d2fe4e26a17600b82cda2940f11dc Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Mon, 15 Dec 2014 06:20:17 +0000 Subject: [PATCH 2/2] liblink/asm7.c: add a little bit of helpful text to aid the reader of Optab --- src/liblink/asm7.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/liblink/asm7.c b/src/liblink/asm7.c index d48222e2e61d5..9ebf33418f7a3 100644 --- a/src/liblink/asm7.c +++ b/src/liblink/asm7.c @@ -151,6 +151,8 @@ enum }; static Optab optab[] = { + /* struct Optab: + OPCODE, from, prog->reg, to, type,size,param,flag */ { ATEXT, C_LEXT, C_NONE, C_LCON, 0, 0, 0 }, { ATEXT, C_LEXT, C_REG, C_LCON, 0, 0, 0 }, { ATEXT, C_ADDR, C_NONE, C_LCON, 0, 0, 0 },