md_number_to_chars (opcodep + i * 4, SWYM_INSN_BYTE << 24, 4);
}
-/* See macro md_parse_name in tc-mmix.h. */
-
-int
-mmix_current_location (void (*fn) (expressionS *), expressionS *exp)
-{
- (*fn) (exp);
-
- return 1;
-}
-
/* Get up to three operands, filling them into the exp array.
General idea and code stolen from the tic80 port. */
extern void mmix_md_finish (void);
#define md_finish mmix_md_finish
-extern int mmix_current_location \
- (void (*fn) (expressionS *), expressionS *);
extern int mmix_parse_predefined_name (char *, expressionS *);
extern char *mmix_current_prefix;
-/* A bit ugly, since we "know" that there's a static function
- current_location that does what we want. We also strip off a leading
- ':' in another ugly way.
+/* Besides the special casing of "@" we also strip off a leading ':' in an
+ ugly way.
The [DVWIOUZX]_Handler symbols are provided when-used. */
(! mmix_gnu_syntax \
&& (name[0] == '@' \
? (! is_part_of_name (name[1]) \
- && mmix_current_location (current_location, exp)) \
+ && (current_location (exp), 1)) \
: ((name[0] == ':' || ISUPPER (name[0])) \
&& mmix_parse_predefined_name (name, exp))))