[movitz-devel] Assembler patch

Robert Swindells rjs at fdy2.demon.co.uk
Sat Aug 2 12:41:51 UTC 2008


Add definition for RDMSR instruction.

Index: asm-x86.lisp
===================================================================
RCS file: /project/movitz/cvsroot/movitz/asm-x86.lisp,v
retrieving revision 1.38
diff -u -r1.38 asm-x86.lisp
--- asm-x86.lisp        12 Apr 2008 16:46:48 -0000      1.38
+++ asm-x86.lisp        2 Aug 2008 12:21:40 -0000
@@ -2029,6 +2029,11 @@
 (define-operator* (:16 :pushfw :32 :pushfl :64 :pushfr) ()
   (opcode #x9c))
 
+;;;;;;;;;;; RDMSR
+
+(define-operator/none :rdmsr ()
+  (opcode #x0f32))
+
 ;;;;;;;;;;; RDTSC
 
 (define-operator/none :rdtsc ()



More information about the movitz-devel mailing list