Mail Archives: djgpp-workers/2003/01/19/16:29:58
Hello.
Here's patch adding the wbinvd mnemonic to djasm.
Right,
MartinS
Index: djgpp/src/docs/kb/wc204.txi
===================================================================
RCS file: /cvs/djgpp/djgpp/src/docs/kb/wc204.txi,v
retrieving revision 1.131
diff -p -u -r1.131 wc204.txi
--- djgpp/src/docs/kb/wc204.txi 21 Dec 2002 20:36:35 -0000 1.131
+++ djgpp/src/docs/kb/wc204.txi 19 Jan 2003 21:18:22 -0000
@@ -833,3 +833,6 @@ to avoid conflicts.
@findex ctime AT r{, and calls to @code{getenv}}
Fix caching when environment variable @env{TZ} is not set. Prevents many calls
to @code{getenv} which are not needed.
+
+@pindex djasm AT r{, wbinvd instruction}
+The mnemonic @code{wbinvd} has been added to @code{djasm}.
Index: djgpp/src/stub/djasm.y
===================================================================
RCS file: /cvs/djgpp/djgpp/src/stub/djasm.y,v
retrieving revision 1.12
diff -p -u -r1.12 djasm.y
--- djgpp/src/stub/djasm.y 20 Jun 2001 20:35:20 -0000 1.12
+++ djgpp/src/stub/djasm.y 19 Jan 2003 21:18:28 -0000
@@ -325,6 +325,7 @@ struct opcode opcodes[] = {
{"stosd", TWOBYTE, 0x66ab},
{"wait", ONEBYTE, 0x9b},
{"fwait", ONEBYTE, 0x9b},
+ {"wbinvd", TWOBYTE, 0x0f09},
{"xlat", ONEBYTE, 0xd7},
{"xlatb", ONEBYTE, 0xd7},
- Raw text -