aboutsummaryrefslogtreecommitdiff
path: root/opcodes/avr-dis.c
AgeCommit message (Collapse)AuthorFilesLines
2008-11-06 * avr-dis.c: Replace uses of sprintf without a format string withNick Clifton1-5/+5
calls to strcpy.
2007-07-05Change source files over to GPLv3.Nick Clifton1-9/+12
2007-02-16PR binutils/4045Nick Clifton1-4/+13
* avr-dis.c (comment_start): New variable, contains the prefix to use when printing addresses in comments. (print_insn_avr): Set comment_start to an empty space if there is no symbol table available as the generic address printing code will prefix the numeric value of the address with 0x.
2007-02-022007-02-02 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+1
* avr-dis.c (avr_operand): Correct PR number in comment.
2006-05-17 * avr-dis.c: Formatting fix.Alan Modra1-2/+3
2006-04-19 * avr-dis.c (avr_operand): Warning fix.Alan Modra1-1/+1
2006-04-12PR binutils/2454Nick Clifton1-1/+6
* avr-dis.c (avr_operand): Arrange for a comment to appear before the symolic form of an address, so that the output of objdump -d can be reassembled.
2005-07-01Update function declarations to ISO C90 formattingNick Clifton1-39/+29
2005-05-07Update the address and phone number of the FSFNick Clifton1-1/+1
2005-03-03update copyright datesAlan Modra1-1/+1
2004-12-14Added printing of symbols on AVR disasmSvein Seldal1-2/+2
2004-12-14Added printing of symbols on AVR disasmSvein Seldal1-17/+25
2002-11-182002-11-12 Klee Dienes <kdienes@apple.com>Klee Dienes1-11/+23
* avr-dis.c: Include libiberty.h (for xmalloc). (struct avr_opcodes_s): Remove 'bin_mask' field (it's automatically computed in the init routine). (AVR_INSN): No longer provide bin_mask field in initializer. (avr_opcodes_s): Declare as const. (print_insn_avr): Store the bin_mask field in a separate table (allocated with xmalloc); iterate through it at the same time as we iterate through the opcodes.
2001-03-13Fix typos in ChangeLogs; fix dates in copyright noticesNick Clifton1-1/+1
2000-08-06 * avr-dis.c (avr_operand): Use PARAMS macro in declaration.Denis Chertykov1-43/+82
Change return type from void to int. Check the combination of operands, return 1 if valid. Fix to avoid BUF overflow. Report undefined combinations of operands in COMMENT. Report internal errors to stderr. Output the adiw/sbiw constant operand in both decimal and hex. (print_insn_avr): Disassemble ldd/std with displacement of 0 as ld/st. Check avr_operand () return value, handle invalid combinations of operands like unknown opcodes.
2000-07-03Tidy up formatting.Nick Clifton1-3/+4
Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
2000-06-09 * avr-dis.c (avr_operand): Bugfix for jmp/call address.Denis Chertykov1-1/+2
2000-06-07 * avr-dis.c: completely rewritten.Denis Chertykov1-587/+249
2000-05-01 * avr-dis.c (reg_fmul_d): New. Extract destination register fromDenis Chertykov1-3/+118
FMUL instruction. (reg_fmul_r): New. Extract source register from FMUL instruction. (reg_muls_d): New. Extract destination register from MULS instruction. (reg_muls_r): New. Extract source register from MULS instruction. (reg_movw_d): New. Extract destination register from MOVW instruction. (reg_movw_r): New. Extract source register from MOVW instruction. (print_insn_avr): Handle MOVW, MULS, MULSU, FMUL, FMULS, FMULSU, EICALL, EIJMP, LPM r,Z, ELPM r,Z, SPM, ESPM instructions.
2000-04-14More portability patches. Include sysdep.h everywhere.Alan Modra1-0/+1
2000-04-03Tidy some code. Print pc rel addresses as signed.Alan Modra1-60/+23
2000-03-27ATMEL AVR microcontroller support.Alan Modra1-0/+577