* expr.c (operand <case '$'>): Use DOLLAR_AMBIGU rather than flag_mri_m68k
[deliverable/binutils-gdb.git] / gas / expr.c
index a5a77718d5de3324de87c9406e369e4c8366a841..c601b0af6986e89312ffcc6c2e018f2b328003ef 100644 (file)
@@ -1095,10 +1095,10 @@ operand (expressionS *expressionP, enum expr_mode mode)
       if (! flag_m68k_mri)
        goto de_fault;
 #endif
-      if (flag_m68k_mri && hex_p (*input_line_pointer))
+      if (DOLLAR_AMBIGU && hex_p (*input_line_pointer))
        {
-         /* In MRI mode, '$' is also used as the prefix for a
-            hexadecimal constant.  */
+         /* In MRI mode and on Z80, '$' is also used as the prefix
+            for a hexadecimal constant.  */
          integer_constant (16, expressionP);
          break;
        }
This page took 0.030463 seconds and 4 git commands to generate.