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

Re: [f-cpu] 15 MIPS FC0 emulator



There is an error :(

> atomic_inc:
> load [r2],r1
> loopentry r4
> addi $1,r1,r3
> cmpxchg r3,[r2],r1
> xor r1,r3,r3
> if (r3 != 0) jump r4

the last 3 lines must be :

    cmpxchg r3,[r2],r5
    xor r1,r5,r5
    if (r5 != 0) jump r4
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/