class Program
{
static void Main(string[] args)
{
int m = 0;
int n = 0;
Console.Write("Enter M : ");
m = Convert.ToInt32(Console.ReadLine());
Console.Write("Enter N : ");
n = Convert.ToInt32(Console.ReadLine());
Console.Write("{0} x {1} and {2} x 1 dimentional two matrix will be multiplied.\n",m,n,n);
Console.Write("Enter {0} x {1} dimentional matrix elements \n", m, n);
int[,] matrix1 = new Int32[m, n];
int[,] matrix2 = new Int32[n, 1];
int[,] matrix3 = new Int32[m, 1];
for (int i = 0; i < m; i++)
{
for (int j = 0; j < n; j++)
{
Console.Write("[{0},{1}]. element = ", i, j);
matrix1[i,j] = Convert.ToInt32(Console.ReadLine());
}
}
Console.Write("Enter {0} x {1} dimentional matrix elements \n", n, 1);
for (int i = 0; i < matrix2.GetLength(0); i++)
{
for (int j = 0; j < matrix2.GetLength(1); j++)
{
Console.Write("[{0},{1}]. element = ", i, j);
matrix2[i, j] = Convert.ToInt32(Console.ReadLine());
}
}
for (int i = 0; i < m; i++)
{
for (int k = 0; k < matrix2.GetLength(1); k++)
{
for (int j = 0; j < n; j++)
{
matrix3[i, k] += matrix1[i, j] * matrix2[j, k];
}
}
}
for (int i = 0; i < m; i++)
{
Console.WriteLine(matrix3[i, 0]);
}
Console.ReadLine();
}
}
This is the c# coded program which i wanna reach the assembly coded one. please helpme.