2 ; Programme qui lit un matrice 4x3 d'entiers et affiche la transposée
5 ; Attention, 2 octets par mot.
8 BRGE afficher ; for(X=0;X<24;X+=2) {
9 DECI vecteur,x ; vecteur[X] = getInt();
11 BR in_loop ; } // fin for
15 BRGE fin ; for(ix=0;ix<8;ix+=2) {
19 BRGE next_ix ; for(jx=0;jx<24;jx+=8) {
22 CHARO ' ',i ; print(vecteur[ix+jx], " ");
26 BR loop_jx ; } // fin for jx
27 next_ix: CHARO '\n',i ;
31 BR loop_ix ; } // fin for ix
34 vecteur: .BLOCK 24 ; #2d12a vecteur de 10 entiers
35 ix: .BLOCK 2 ; #2d itérateur ix pour tri
36 jx: .BLOCK 2 ; #2d itérateur jx pour tri