summaryrefslogtreecommitdiff
path: root/opcodes/z8k-opc.h
Commit message (Collapse)AuthorAgeFilesLines
* * z8k-dis.c: Convert to ISO C90.Christian Groessler2003-11-281-113/+113
| | | | | | | * 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.
* * z8k-dis.c (instr_data_s): Change tabl_index from long to int.Christian Groessler2003-06-191-593/+746
| | | | | | | | | | | | | | | | (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.
* * config/tc-z8k.c (cons, obj_coff_section): Delete declarations.Alan Modra2002-12-121-1695/+857
| | | | | | | | | | | | | | | | | | | | | | (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-11-18 Klee Dienes <kdienes@apple.com>Klee Dienes2002-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | * arc.h (arc_ext_opcodes): Declare as extern. (arc_ext_operands): Declare as extern. * i860.h (i860_opcodes): Declare as const. 2002-11-18 Klee Dienes <kdienes@apple.com> * arc-opc.c (arc_ext_opcodes): Define. (arc_ext_operands): Define. * i386-dis.c (Suffix3DNow): Declare as const. * arm-opc.h (arm_opcodes): Declare as const. (thumb_opcodes): Declare as const. * h8500-opc.h (h8500_table): Declare as const. (h8500_table): Use a NULL for the opcode in the terminator, so that code testing (opcode->name) behaves correctly. * mcore-opc.h (mcore_table): Declare as const. * sh-opc.h (sh_table): Declare as const. * w65-opc.h (optable): Declare as const. * z8k-opc.h (z8k_table): Declare as const.
* opcodes: Fix definition of "in rd,imm16" opcode.Nick Clifton2002-08-221-2/+2
| | | | gas: Adjust ptr variable also in "case 0" case.
* The patch contains mostly fixes for the disassembler. It also fixesNick Clifton2002-04-251-34/+36
| | | | | | 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.
* Fix compile time warningsNick Clifton2001-09-201-1/+1
|
* Cleanups for z8k targetNick Clifton2001-08-011-1/+9
|
* z8k fixesNick Clifton2001-04-241-232/+265
|
* Initial revisionRichard Henderson1999-05-031-0/+4438