文件名称:a4q1
介绍说明--下载内容均来自于网络,请自行研究使用
ARM下 Implement matrix multiplication of 2 square matrices, with data read from an input file and printed both to the console and to an output file.
• Assume a file with correct data (no garbage, characters, etc.).
• you must check and provide appropriate execution for 2 extra cases, namely when the matrix size given is either “0” , or when the size is greater than the maximum handled of “5” . In these 2 cases you must implement the following behaviour:
o If size = 0, then print a message “Size = 0 is unacceptable” and continue by reading the
next size for the next 2 matrices (if not end of file).
o If size >5, then print two messages: “Size is too big - unacceptable”. Then read and
discard the next (size2 ) integers and continue by reading the next size for the next 2 matrices (if not end of file).-ARM under Implement matrix multiplication of two square matrices, with data read from an input file and printed both to the console and to an output file.# 8226 Assume a file with correct data (no garbage, characters, etc.). . You# 8226 must check and provide appropriate execution for 2 extra cases, namely when the matrix size given is either 0 , or when the size is greater than the maximum handled of 5 . In these 2 cases you must implement the following behaviour: o If size = 0, then print a message "Size = 0 is unacceptable," and continue by reading the next size for the next two matrices (if not end of file). o If size gt; five, then print two messages : "Size is too big-unacceptable. " Then read and discard the next (size2) integers and continue by reading the ne
• Assume a file with correct data (no garbage, characters, etc.).
• you must check and provide appropriate execution for 2 extra cases, namely when the matrix size given is either “0” , or when the size is greater than the maximum handled of “5” . In these 2 cases you must implement the following behaviour:
o If size = 0, then print a message “Size = 0 is unacceptable” and continue by reading the
next size for the next 2 matrices (if not end of file).
o If size >5, then print two messages: “Size is too big - unacceptable”. Then read and
discard the next (size2 ) integers and continue by reading the next size for the next 2 matrices (if not end of file).-ARM under Implement matrix multiplication of two square matrices, with data read from an input file and printed both to the console and to an output file.# 8226 Assume a file with correct data (no garbage, characters, etc.). . You# 8226 must check and provide appropriate execution for 2 extra cases, namely when the matrix size given is either 0 , or when the size is greater than the maximum handled of 5 . In these 2 cases you must implement the following behaviour: o If size = 0, then print a message "Size = 0 is unacceptable," and continue by reading the next size for the next two matrices (if not end of file). o If size gt; five, then print two messages : "Size is too big-unacceptable. " Then read and discard the next (size2) integers and continue by reading the ne
(系统自动生成,下载前可以参看下载内容)
下载文件列表
a4q1.s