Fixed RIP address processing ambiguity found by Charles Crayne.
authorKeith Kanios <spook@dynatos.net>
Sun, 19 Aug 2007 18:49:26 +0000 (18:49 +0000)
committerKeith Kanios <spook@dynatos.net>
Sun, 19 Aug 2007 18:49:26 +0000 (18:49 +0000)
assemble.c

index a733055..d9471b5 100644 (file)
@@ -1648,6 +1648,7 @@ static ea *process_ea(operand * input, ea * output, int addrbits,
 {
                       
     int rip = FALSE;              /* Used for RIP-relative addressing */
+    output->rip = 0;
   
     /* REX flags for the rfield operand */
     output->rex |= rexflags(rfield, rflags, REX_R|REX_P|REX_W|REX_H);