X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=cpu%2FCyclone%2FOpAny.cpp;h=a50114acefe90e6602e9dc021f0f854d548e9866;hb=c299a73848342a745422a2e1980ed7fcf7960f26;hp=6ee08ec1347999a7d577b48a204c0d0b1eb0ddec;hpb=8ab3e3c1cf696cb776b14ab511f98aa8ab22797e;p=picodrive.git diff --git a/cpu/Cyclone/OpAny.cpp b/cpu/Cyclone/OpAny.cpp index 6ee08ec..a50114a 100644 --- a/cpu/Cyclone/OpAny.cpp +++ b/cpu/Cyclone/OpAny.cpp @@ -133,17 +133,17 @@ int OpBase(int op,int size,int sepa) // Get flags, trashes r2 int OpGetFlags(int subtract,int xbit,int specialz) { - if (specialz) ot(" orr r2,r9,#0xb0000000 ;@ for old Z\n"); + if (specialz) ot(" orr r2,r10,#0xb0000000 ;@ for old Z\n"); - ot(" mrs r9,cpsr ;@ r9=flags\n"); + ot(" mrs r10,cpsr ;@ r10=flags\n"); - if (specialz) ot(" andeq r9,r9,r2 ;@ fix Z\n"); + if (specialz) ot(" andeq r10,r10,r2 ;@ fix Z\n"); - if (subtract) ot(" eor r9,r9,#0x20000000 ;@ Invert carry\n"); + if (subtract) ot(" eor r10,r10,#0x20000000 ;@ Invert carry\n"); if (xbit) { - ot(" str r9,[r7,#0x4c] ;@ Save X bit\n"); + ot(" str r10,[r7,#0x4c] ;@ Save X bit\n"); } return 0; }