qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Qemu arm emulation


From: Ulrich Hecht
Subject: Re: [Qemu-devel] Qemu arm emulation
Date: Fri, 4 Feb 2005 13:30:47 +0100
User-agent: KMail/1.7.92

Hi!

On Friday 03 December 2004 22:07, Charlie Baylis wrote:
> 2. Shifter carry out for immediates
> When an immediate value is generated the shifter carry out is set to
> bit31 of the resulting immediate if the shift value is non zero. If
> the shift value is zero, then the shifter carry out has the value of
> the C flag.
>
> Therefore, the following instructions should alter the carry flag when
> used with an immediate which has a non-zero shift.
> ANDS BICS EORS MOVS MVNS ORRS TEQS and TSTS
> (The remaining data processing instructions generate the C flag from
> the calculation performed by the instruction)

Here's a patch that fixes the testcase. I made it for 0.6.1, but it still 
applies and works for CVS.

CU
Uli

Attachment: qemu-0.6.1-shifter_carry.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]