This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
z8k diffs, patch
- To: binutils at sources dot redhat dot com
- Subject: z8k diffs, patch
- From: Christian Groessler <cpg at aladdin dot de>
- Date: 17 Jan 2001 12:46:40 +0100
- Cc: cpg at aladdin dot de
On 01/17/2001 10:56:23 AM GMT Philip Blundell wrote:
>
>Send the patches (preferably in `diff -up' format) to this list.
>
OK, here they are.
The biggest part of the patch is modifying the z8k-opc.h file, which
isn't really necessary because the file can be generated by
z8kgen.c. I include it nevertheless, because I found out that in the
current version the z8k-opc.h file has been updated by someone who
didn't update the z8kgen.c file.
I merged back the changes to the z8k-opc.h to z8kgen.c (and double
checked with the processor docs), so z8k-opc.h and z8kgen.c are now
back in sync.
Otherwise, my changes are:
* callr instruction is now assembled and disassembled properly
* same for ldr type instructions
* the disassembler now prints the destination of a relative
jump (previously the address was garbage)
* the disassembler now correctly disassembles ldctl and ldctlb
* in segmented mode absolute addresses are 2 bytes longer,
tell the disassembler
* display correct branch target for djnz or dbjnz
* memory addresses in the disassemler are now displayed with
only the address, previously there was a '#'. This is now
only displayed for immediate values.
regards,
chris
z8k diffs