missing icebp/int1 instruction in i386 disassembler

Doug Evans dje@sebabeach.org
Fri Mar 21 07:34:00 GMT 2003


There is an instruction missing in the i386 disassembler.

The instruction is "int1" or "icebp", opcode 0xf1.

I've called it icebp in the patch, but int1 is fine too.
I have no opinion.  icebp is more instructive of its typical usage.

For reference: http://www.sandpile.org, and in particular
http://www.sandpile.org/ia32/opc_1.htm.

2003-03-20  Doug Evans  <dje@sebabeach.org>

	* i386-dis.c (dis386): Recognize icebp (0xf1).

Index: i386-dis.c
===================================================================
RCS file: /cvs/src/src/opcodes/i386-dis.c,v
retrieving revision 1.37
diff -u -p -r1.37 i386-dis.c
--- i386-dis.c	6 Feb 2003 01:48:41 -0000	1.37
+++ i386-dis.c	20 Mar 2003 20:08:54 -0000
@@ -736,7 +736,7 @@ static const struct dis386 dis386[] = {
   { "outS",		indirDX, eAX, XX },
   /* f0 */
   { "(bad)",		XX, XX, XX },	/* lock prefix */
-  { "(bad)",		XX, XX, XX },
+  { "icebp",		XX, XX, XX },
   { "(bad)",		XX, XX, XX },	/* repne */
   { "(bad)",		XX, XX, XX },	/* repz */
   { "hlt",		XX, XX, XX },



More information about the Binutils mailing list