From 68c78e7344fac45aec4cc0d5c1df150ae154c8c4 Mon Sep 17 00:00:00 2001
From: Rein Klazes <rklazes@casema.net>
Date: Sun, 31 Oct 1999 21:25:11 +0000
Subject: [PATCH] Corrected operand sizes for the "enter" instruction.

---
 debugger/db_disasm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debugger/db_disasm.c b/debugger/db_disasm.c
index 442230bd510..6ac7b19ceb4 100644
--- a/debugger/db_disasm.c
+++ b/debugger/db_disasm.c
@@ -769,7 +769,7 @@ static const struct inst db_inst_table[256] = {
 /*c6*/	{ "mov",   TRUE,  BYTE,  op2(I, E),   0 },
 /*c7*/	{ "mov",   TRUE,  LONG,  op2(I, E),   0 },
 
-/*c8*/	{ "enter", FALSE, NONE,  op2(Ib, Iw), 0 },
+/*c8*/	{ "enter", FALSE, NONE,  op2(Iw, Ib), 0 },
 /*c9*/	{ "leave", FALSE, NONE,  0,           0 },
 /*ca*/	{ "lret",  FALSE, NONE,  op1(Iw),     0 },
 /*cb*/	{ "lret",  FALSE, NONE,  0,	      0 },
-- 
GitLab