This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

missing icebp/int1 instruction in i386 disassembler


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 at sebabeach dot 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 },


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]