aboutsummaryrefslogtreecommitdiff
path: root/src/libmach/mach386.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-20 00:55:31 +0000
committerrsc <devnull@localhost>2004-04-20 00:55:31 +0000
commit89f6ec8e90179a44f85c83708f7f9c6d6573692f (patch)
tree6dfc8c824056863550b1d0cf513e3d0f29059f10 /src/libmach/mach386.c
parent929ba9b98f7ded89476ad6bce547e15981bc723b (diff)
downloadplan9port-89f6ec8e90179a44f85c83708f7f9c6d6573692f.tar.gz
plan9port-89f6ec8e90179a44f85c83708f7f9c6d6573692f.tar.bz2
plan9port-89f6ec8e90179a44f85c83708f7f9c6d6573692f.zip
yet more []
Diffstat (limited to 'src/libmach/mach386.c')
-rw-r--r--src/libmach/mach386.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libmach/mach386.c b/src/libmach/mach386.c
index 30a3d545..4b43683e 100644
--- a/src/libmach/mach386.c
+++ b/src/libmach/mach386.c
@@ -1609,14 +1609,14 @@ bprint(Instr *ip, char *fmt, ...)
#define ONAME(ip) ""
static char *reg[] = {
-[AX] "AX",
-[CX] "CX",
-[DX] "DX",
-[BX] "BX",
-[SP] "SP",
-[BP] "BP",
-[SI] "SI",
-[DI] "DI",
+ "AX", /* 0 */
+ "CX", /* 1 */
+ "DX", /* 2 */
+ "BX", /* 3 */
+ "SP", /* 4 */
+ "BP", /* 5 */
+ "SI", /* 6 */
+ "DI", /* 7 */
};
static char *breg[] = { "AL", "CL", "DL", "BL", "AH", "CH", "DH", "BH" };