Bug#569757: gdb-m68hc1x: NEG instruction does exactly the wrong thing with Carry flag
This probably belongs with the upstream maintainer, but I don't know
who that is. Perhaps you can forward.
All flavours of NEG should set Carry unless the input value is zero
(see FreeScale documentation). The simulator code does the exact
Not a patch file, but the following change fixes this behaviour:
I have also noticed that the TBL/ETBL instructions aren't implemented.
-- System Information:
Debian Release: 5.0.4
APT prefers stable
APT policy: (990, 'stable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 126.96.36.199 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages gdb-m68hc1x depends on:
ii binutils-m68hc1x 1:2.18-3 binary utilities that support Moto
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libncurses5 5.7+20081213-1 shared libraries for terminal hand
gdb-m68hc1x recommends no packages.
gdb-m68hc1x suggests no packages.
-- no debconf information