From rjs at fdy2.demon.co.uk Sat Aug 2 12:41:51 2008 From: rjs at fdy2.demon.co.uk (Robert Swindells) Date: Sat, 2 Aug 2008 13:41:51 +0100 (BST) Subject: [movitz-devel] Assembler patch Message-ID: <20080802124151.CCBFAB07@fdy2.demon.co.uk> 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 () From frodef at cs.uit.no Wed Aug 6 09:45:48 2008 From: frodef at cs.uit.no (Frode V. Fjeld) Date: Wed, 06 Aug 2008 11:45:48 +0200 Subject: [movitz-devel] Re: New assembler References: <20080731181116.C61805C7@fdy2.demon.co.uk> Message-ID: <87abfqzdbn.fsf@disk.lan> Robert Swindells writes: > How do you invoke the disassembler part of the new assembler ? > > I would like to find out whether some inline assembly code has turned > out how I wanted. The function x86:disassemble-proglist is the typical entry-point. It takes a list of octets (of machine-code) as argument, primarily. Also, in emacs, M-x movitz-disassemble-defun should display disassembly of the current function. -- Frode V. Fjeld