1# mach: bfin 2 3.include "testutils.inc" 4 start 5 6 A0 = 0; 7 A1 = 0; 8 R0 = -1; 9 R1 = 0; 10 R1.L = 0x007f; 11 A0.w = R0; 12 A0.x = R1; 13 A1.w = R0; 14 A1.x = R1; 15 _DBG A0; 16 _DBG A1; 17 _DBG astat; 18 A0 += A1; 19 20 _DBG A0; 21// _DBG ASTAT; 22// R0 = ASTAT; 23// _DBG R0; 24// DBGA ( R0.L , 0x0 ); 25// DBGA ( R0.H , 0x3 ); 26 cc = az; 27 r0 = cc; 28 dbga( r0.l, 0); 29 cc = an; 30 r0 = cc; 31 dbga( r0.l, 0); 32 cc = av0; 33 r0 = cc; 34 dbga( r0.l, 1); 35 cc = av0s; 36 r0 = cc; 37 dbga( r0.l, 1); 38 cc = av1; 39 r0 = cc; 40 dbga( r0.l, 0); 41 cc = av1s; 42 r0 = cc; 43 dbga( r0.l, 0); 44 45 A1 = 0; 46 _DBG A0; 47 A0 += A1; 48 49 _DBG A0; 50// _DBG ASTAT; 51// R0 = ASTAT; 52// _DBG R0; 53 54// DBGA ( R0.L , 0 ); 55// DBGA ( R0.H , 2 ); 56 cc = az; 57 r0 = cc; 58 dbga( r0.l, 0); 59 cc = an; 60 r0 = cc; 61 dbga( r0.l, 0); 62 cc = av0; 63 r0 = cc; 64 dbga( r0.l, 0); 65 cc = av0s; 66 r0 = cc; 67 dbga( r0.l, 1); 68 cc = av1; 69 r0 = cc; 70 dbga( r0.l, 0); 71 cc = av1s; 72 r0 = cc; 73 dbga( r0.l, 0); 74 75 pass 76