Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <modra@gmail.com>2001-03-19 14:28:20 +0300
committerAlan Modra <modra@gmail.com>2001-03-19 14:28:20 +0300
commitca05a71296f2a1e650b5a4368624351bc6522979 (patch)
tree27b299115b2eefe613835564b9e9f9620379e7da /include/opcode/i386.h
parent30f326bf5ee75e4b1609796afadf9f99ccd290b4 (diff)
Fix register name printed in warning message.
Diffstat (limited to 'include/opcode/i386.h')
-rw-r--r--include/opcode/i386.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/opcode/i386.h b/include/opcode/i386.h
index 1af44fb01..f480dd400 100644
--- a/include/opcode/i386.h
+++ b/include/opcode/i386.h
@@ -1340,6 +1340,7 @@ static const reg_entry i386_regtab[] = {
/* make %st first as we test for it */
{"st", FloatReg|FloatAcc, 0, 0},
/* 8 bit regs */
+#define REGNAM_AL 1 /* Entry in i386_regtab. */
{"al", Reg8|Acc, 0, 0},
{"cl", Reg8|ShiftCount, 0, 1},
{"dl", Reg8, 0, 2},
@@ -1365,6 +1366,7 @@ static const reg_entry i386_regtab[] = {
{"r14b", Reg8, RegRex64|RegRex, 6},
{"r15b", Reg8, RegRex64|RegRex, 7},
/* 16 bit regs */
+#define REGNAM_AX 25
{"ax", Reg16|Acc, 0, 0},
{"cx", Reg16, 0, 1},
{"dx", Reg16|InOutPortReg, 0, 2},
@@ -1382,6 +1384,7 @@ static const reg_entry i386_regtab[] = {
{"r14w", Reg16, RegRex, 6},
{"r15w", Reg16, RegRex, 7},
/* 32 bit regs */
+#define REGNAM_EAX 41
{"eax", Reg32|BaseIndex|Acc, 0, 0}, /* Must be in ax + 16 slot */
{"ecx", Reg32|BaseIndex, 0, 1},
{"edx", Reg32|BaseIndex, 0, 2},