diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-02 08:18:36 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-02 08:18:36 +0000 |
commit | 687fa640d49ce19b9b9a2258fde19e1500bfabb4 (patch) | |
tree | f835f5923fdf8a4592176d9630978c411e082834 /target-arm | |
parent | d34cab9f49bc3ad83a2a968fc2d2719179db2c15 (diff) | |
download | hqemu-687fa640d49ce19b9b9a2258fde19e1500bfabb4.zip hqemu-687fa640d49ce19b9b9a2258fde19e1500bfabb4.tar.gz |
Random bug fixes from code inspection, by Wang Cheng Yeh.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2580 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm')
-rw-r--r-- | target-arm/translate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c index 4cb9142..1631fcd 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -2583,8 +2583,8 @@ void cpu_dump_state(CPUState *env, FILE *f, cpu_fprintf(f, " "); } psr = cpsr_read(env); - cpu_fprintf(f, "PSR=%08x %c%c%c%c %c %s%d %x\n", - psr, + cpu_fprintf(f, "PSR=%08x %c%c%c%c %c %s%d\n", + psr, psr & (1 << 31) ? 'N' : '-', psr & (1 << 30) ? 'Z' : '-', psr & (1 << 29) ? 'C' : '-', |