/*file MatrixMult.c C program that calls an assembly routine. It asks the user for the size and initial values for the matrices and then shows the results of their multiplication. EMR 990407 Modified: MRR 000327 */ #include "support.h" int *mata; /* First Matrix */ int *matb; /* Second Matrix */ int *matc; /* Resultant Matrix */ int size; /* Matrices Size */ void main() { set_up_transfer_base(); int i, l; int temp; /* Ask the user for the size */ printf("Enter size of matrices > "); scanf("%d",&size); printf("\n"); /* Separate memory for the matrices */ mata = malloc(size*size); matb = malloc(size*size); matc = malloc(size*size); /* Ask user for initial values */ for(int j=0; j