This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/gas config/tc-z80.c config/tc-z80.h ChangeLog
- From: arnoldm at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 6 May 2012 09:49:21 -0000
- Subject: src/gas config/tc-z80.c config/tc-z80.h ChangeLog
CVSROOT: /cvs/src
Module name: src
Changes by: arnoldm@sourceware.org 2012-05-06 09:49:21
Modified files:
gas/config : tc-z80.c tc-z80.h
gas : ChangeLog
Log message:
2012-05-06 Arnold Metselaar <arnold_m@operamail.com>
* config/tc-z80.h(md_register_arithmetic): Define as 0.
* config/tc-z80.c(md_begin): Store register names in symbol table, prevents usage as ordinary symbol.
* config/tc-z80.c(contains_register): New function.
* config/tc-z80.c(parse_exp2): Removed.
* config/tc-z80.c(parse_exp_not_indexed): New function.
* config/tc-z80.c(parse_exp): Add code to recogize indexed addressing after parsing.
* config/tc-z80.c(emit_byte, emit_word): Use contains_register.
* config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify condition for jump to register.
* config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use parse_exp_not_indexed.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-z80.c.diff?cvsroot=src&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-z80.h.diff?cvsroot=src&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4720&r2=1.4721