1# mach: bfin 2 3.include "testutils.inc" 4 start 5 6 7 R0 = 1; 8 DBGA ( R0.L , 1 ); 9 10 R1.L = 2; 11 DBGA ( R1.L , 2 ); 12 13 R2 = 3; 14 A0.x = R2; 15 R0 = A0.x; 16 DBGA ( R0.L , 3 ); 17 18 P0 = 4; 19 R0 = P0; 20 DBGA ( R0.L , 4 ); 21 22 R0 = 45; 23 R1 = 22; 24 A1 = R0.L * R1.L, A0 = R0.H * R1.H; 25 _DBG A1; 26 27 loadsym I2, foo; 28 P0 = I2; 29 R0 = 0x0333 (X); 30 R3 = 0x0444 (X); 31 32 R3.L = ( A0 = R0.L * R0.L ) || [ I2 ++ ] = R3 || NOP; 33 DBGA ( R3.L , 0x14 ); 34 R0 = [ P0 ]; 35 DBGA ( R0.L , 0x0444 ); 36 37 pass 38 39 .data 40foo: 41 .space (0x10); 42