aboutsummaryrefslogtreecommitdiff
path: root/opcodes/z8kgen.c
AgeCommit message (Collapse)AuthorFilesLines
2003-11-28 * z8k-dis.c: Convert to ISO C90.Christian Groessler1-144/+130
* z8kgen.c: Convert to ISO C90. (opt): Move long opcode for "ldb rdb,imm8" after short one, now the short one is created when assembling. * z8k-opc.h: Regenerate with new z8kgen.c.
2003-06-19 * z8k-dis.c (instr_data_s): Change tabl_index from long to int.Christian Groessler1-197/+222
(print_insn_z8k): Correctly check return value from z8k_lookup_instr call. (unparse_instr): Handle CLASS_IRO case. * z8kgen.c: Fix function definitions. Fix formatting. (opt): Add brk opcode alias for non-simulator breakpoint. Add missing and fix existing in/out and sin/sout opcode definitions. (args): "@ri", "@ro" - add CLASS_IRO register usage for in/out opcodes. (internal): Check p->flags for non-zero before dereferencing it. (gas): Add CLASS_IRO line. Insert new OPC_xxx lines for the added opcodes and renumber the remaining lines repectively. (main): Remove "-d" command line switch. * z8k-opc.h: Regenerate with new z8kgen.c.
2002-12-12 * config/tc-z8k.c (cons, obj_coff_section): Delete declarations.Alan Modra1-606/+607
(whatreg, parse_reg, parse_exp): Make static, prototype. (checkfor, regword, regaddr, get_ctrl_operand): Prototype. (get_flags_operand, get_interrupt_operand, get_cc_operand): Likewise. (get_operand, get_operands, get_specific, newfix): Likewise. (apply_fix, build_bytes): Likewise. (md_atof): Remove declaration of atof_ieee. (tc_aout_fix_to_chars): Delete. (md_begin): Constify "opcode". Don't try to init opcode->idx. Fix s_unseg call. (md_parse_option): Fix s_segm and s_unseg calls. * z8kgen.c: Include "libiberty.h". (opt, args, toks): Fix initializer warnings. (chewname): Make "name" a char **. Return mnemonic trimmed of operands. (gas): Improve emitted "DO NOT EDIT" warning. Format emitted opcode_entry_type, and make "nicename" and "name" const. Make z8k_table const too. Formatting. Generate idx as gas needs it. * z8k-opc.h: Regenerate.
2002-08-22opcodes: Fix definition of "in rd,imm16" opcode.Nick Clifton1-1/+1
gas: Adjust ptr variable also in "case 0" case.
2002-04-25The patch contains mostly fixes for the disassembler. It also fixesNick Clifton1-26/+31
a crash of the assembler with some malformed source input. Long segmented addresses are now correctly relocated. Finally it updates my email address in the MAINTAINERS file.
2001-09-20Fix compile time warningsNick Clifton1-1/+1
2001-08-01Cleanups for z8k targetNick Clifton1-31/+33
2001-04-24z8k fixesNick Clifton1-27/+37
2001-03-13Fix typos in ChangeLogs; fix dates in copyright noticesNick Clifton1-12/+13
2000-04-14More portability patches. Include sysdep.h everywhere.Alan Modra1-1/+0
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+1313