* config/tc-m68k.c (md_pseudo_table): Add MRI structured control
authorIan Lance Taylor <ian@airs.com>
Tue, 15 Aug 1995 19:42:47 +0000 (19:42 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 15 Aug 1995 19:42:47 +0000 (19:42 +0000)
commitc842dd375de4502cb2507bd07365c090cbefced6
treefbf4c99bd7cc26fabe309112108b727db458ab2a
parentec10503a7307fe3a69ed753951a5d7e5487352bb
* config/tc-m68k.c (md_pseudo_table): Add MRI structured control
directives: if, if.b, if.w, if.l, else, else.s, else.l, endi,
break, break.s, break.l, next, next.s, next.l, for, for.b, for.w,
for.l, endf, repeat, until, until.b, until.w, until.l, while,
while.b, while.w, while.l, endw.
(enum mri_control_type): Define.
(struct mri_control_info): Define.
(mri_control_stack): New static variable.
(mri_control_index): New static variable.
(mri_control_label): New static function.
(push_mri_control, pop_mri_control): New static functions.
(parse_mri_condition): New static function.
(parse_mri_control_operand): New static function.
(swap_mri_condition, reverse_mri_condition): New static functions.
(build_mri_control_operand): New static function.
(parse_mri_control_expression): New static function.
(s_mri_if, s_mri_else, s_mri_endi): New static functions.
(s_mri_break, s_mri_next): New static functions.
(s_mri_for, s_mri_endf): New static functions.
(s_mri_repeat, s_mri_until): New static functions.
(s_mri_while, s_mri_endw): New static functions.
* gasp.c (mrikinfo): Remove IF.
* expr.c (get_symbol_end): Accept \001 as part of a name.
gas/gasp.c