From e06b84e75d0ea097e222fd19c4a1a9f03e9596ea Mon Sep 17 00:00:00 2001 From: Abdulaziz Ghuloum Date: Tue, 13 Nov 2007 23:10:49 -0500 Subject: [PATCH] * Added (xorl imm8 mem) instruction to the assembler. --- scheme/ikarus.intel-assembler.ss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scheme/ikarus.intel-assembler.ss b/scheme/ikarus.intel-assembler.ss index 5b1cec7..b7620f7 100644 --- a/scheme/ikarus.intel-assembler.ss +++ b/scheme/ikarus.intel-assembler.ss @@ -669,6 +669,8 @@ (cond [(and (imm8? src) (reg? dst)) (CODE #x83 (ModRM 3 '/6 dst (IMM8 src ac)))] + [(and (imm8? src) (mem? dst)) + ((CODE/digit #x83 '/6) dst (IMM8 src ac))] [(and (imm? src) (eq? dst '%eax)) (CODE #x35 (IMM32 src ac))] [(and (reg? src) (reg? dst))