Commit Graph

11 Commits

Author SHA1 Message Date
Tomer Levi aea44f6290 2004-11-08 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c (print_insn): Check and set insn_addr.
	* config/tc-crx.h (md_frag_check): Define.
2004-11-08 13:51:55 +00:00
Tomer Levi 82d6ee2a41 2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c: Rename argument types.
 	(processing_arg_number): Rename to 'cur_arg_num'.
	(get_number_of_bits): Rename to 'set_operand_size'.
	(get_operandtype): Rename to 'parse_operand', totally rewrite.
	(set_cons_rparams): Rename to 'set_operand', totally rewrite.
	(set_indexmode_parameters): Remove function, integrate its code into 'set_operand'.
	(set_operand_size): Get rid of 'Operand Number' function parameter - use global variable 'cur_arg_num' instead.
	Use a local 'argument' pointer to reference the current argument.
	(parse_operand): Likewise.
	(set_operand): Likewise.
	(process_label_constant): Likewise.
2004-11-05 11:02:04 +00:00
Tomer Levi 3ad3f5ad1c 2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c (getreg_image): Bug fix, a return value was mistakenly ommited from CRX_C_REGTYPE and CRX_CS_REGTYPE cases.
2004-10-28 10:14:46 +00:00
Tomer Levi 9bb1ebc211 * config/tc-crx.c: Remove global variable 'post_inc_mode'.
(get_flags): New function.
(get_number_of_bits): Edit comments, update numeric values to supported sizes.
(process_label_constant): Don't support the colon format (SYMBOL:[s|m|l]).
(set_cons_rparams): Support argument type 'arg_rbase'.
(get_operandtype): Bug fix in 'rbase' operand type parsing.
(handle_LoadStor): Bug fix, first handle post-increment mode.
(getreg_image): Remove redundant code, update according to latest CRX spec.
(print_constant): Bug fix relate to 3-word instructions.
(assemble_insn): Bug fix, when matching instructions, verify also instruction type (not only mnemonic).
Add various error checking.
(preprocess_reglist): Support HI/LO and user registers.
2004-10-27 10:28:22 +00:00
Tomer Levi e92c9d66d3 1. Check unsigned immediate operands validity. 2. Update coprocessor id to be unsigned immediate. 2004-10-25 09:30:55 +00:00
Tomer Levi e3c52c539f Add error checking for Co-Processor instructions 2004-10-07 14:48:08 +00:00
Nick Clifton 48c9f030c9 Add support for CRX co-processor opcodes 2004-10-07 14:18:17 +00:00
Tomer Levi 64995a6bc7 Handle load/stor unique instructions before parsing 2004-09-20 14:25:36 +00:00
Nick Clifton 42851540ac Add LD and GAS testsuites for CRX port.
Fix several crx bugs.
2004-09-03 14:31:41 +00:00
Nick Clifton 670ec21de9 Add CRX insns: pushx, popx
Add support to GAS for expressions which are the difference of two symbols
2004-07-27 11:37:12 +00:00
Nick Clifton 1fe1f39c06 Add new port: crx-elf 2004-07-07 17:28:53 +00:00