X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=cyclone68000.git;a=blobdiff_plain;f=OpMove.cpp;h=82c589c0d4f24ae29a6855483d71431e3c281780;hp=1e24566d2b5e5e85b6a838f367f5a286c3a760b1;hb=3504ce942735ae4283cd47ca6defaae87b550c57;hpb=cfe17eee41a12da11f69660c2764813e94d871ea diff --git a/OpMove.cpp b/OpMove.cpp index 1e24566..82c589c 100644 --- a/OpMove.cpp +++ b/OpMove.cpp @@ -133,9 +133,8 @@ int OpMove(int op) if (movea==0) { - EaCalcRead(-1,0,sea,size,0x003f); - ot(" adds r1,r0,#0 ;@ Defines NZ, clears CV\n"); - ot(" mrs r10,cpsr ;@ r10=NZCV flags\n"); + EaCalcRead(-1,1,sea,size,0x003f,1,1); + OpGetFlagsNZ(1); ot("\n"); } else @@ -530,7 +529,7 @@ int OpMoveq(int op) ot(" movs r0,r8,asl #24\n"); ot(" and r1,r8,#0x0e00\n"); ot(" mov r0,r0,asr #24 ;@ Sign extended Quick value\n"); - ot(" mrs r10,cpsr ;@ r10=NZ flags\n"); + OpGetFlagsNZ(0); ot(" str r0,[r7,r1,lsr #7] ;@ Store into Dn\n"); ot("\n");