#include <stdio.h>
#define N 100
typedef int matrix [N][N];
// zum betrachten der index-rechnungen
int access (matrix a, int i) {
int x = a[3][i];
int y = a[i][5];
return x + y;
}
Compilieren mit gcc -S ergibt:
diag:
!#PROLOGUE# 0
save %sp, -120, %sp
!#PROLOGUE# 1
st %i0, [%fp+68] -- &a
st %i1, [%fp+72] -- i