z8k diffs, patch

Christian Groessler cpg@aladdin.de
Wed Jan 17 03:47:00 GMT 2001


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: z8k-diffs.gz
Type: application/x-gzip
Size: 13503 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20010117/ec9182b8/attachment.bin>


More information about the Binutils mailing list