我正在尝试将一些C代码转换为MIPS64程序集。目前我需要翻译以下代码,但我无法获得任何工作。你如何安全地使用.data寄存器?
double b[MAX_TAP] = {
3.558363, -0.542859, -0.928322, -0.993428, 4.643953, -5.909149, 1.722120, -1.854375,
-1.967672, -2.170269, 0.673272, 0.182548, -4.812593, 0.818270, 0.889598, 0.322937,
-0.430576, -4.259421, -0.983597, 4.285341, -2.333795, 1.856496, -4.711222, -0.517585,
-8.376492, -1.440117, -6.255069, -0.000203, 0.881922, 6.955272, -0.209273, 5.219892
};
任何帮助将不胜感激!
答案 0 :(得分:1)
只需写下:
.data
b:
.double 3.558363, -0.542859, ...