Re: [Qemu-devel] [ARM] add with PC in argument

2008-02-25 Thread claude vittoria
>On 2/24/08, claude vittoria <[EMAIL PROTECTED]> wrote: >> So in qemu I don't get the same comportement. The add of lr = pc + 4 >> gives lr = pc + 8 into qemu. >> I think that s->pc += 4 at start of disas_arm_insn alters the result. >> Could you confirm ? >> >> 0x7caddlr, pc, #4 >> 0x

Re: [Qemu-devel] [ARM] add with PC in argument

2008-02-25 Thread Laurent Desnogues
On 2/24/08, claude vittoria <[EMAIL PROTECTED]> wrote: > So in qemu I don't get the same comportement. The add of lr = pc + 4 > gives lr = pc + 8 into qemu. > I think that s->pc += 4 at start of disas_arm_insn alters the result. > Could you confirm ? > > 0x7caddlr, pc, #4 > 0x80ld

Re: [Qemu-devel] [ARM] add with PC in argument

2008-02-25 Thread Daniel Jacobowitz
On Sun, Feb 24, 2008 at 01:57:04PM +0100, claude vittoria wrote: > Hello, > > I got a problem in an IRQ handler of mutek OS > (https://www-asim.lip6.fr/trac/mutekh), target ARM Integrator/CM > 922T-XA10. I try to port it on Qemu. A porting has been done for Skyeyes > > So in qemu I don't get th

[Qemu-devel] [ARM] add with PC in argument

2008-02-24 Thread claude vittoria
Hello, I got a problem in an IRQ handler of mutek OS (https://www-asim.lip6.fr/trac/mutekh), target ARM Integrator/CM 922T-XA10. I try to port it on Qemu. A porting has been done for Skyeyes So in qemu I don't get the same comportement. The add of lr = pc + 4 gives lr = pc + 8 into qemu. I