Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/assembly/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/sorting/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Assembly 为risc v工具链编译SCALL.S sbbreak.S和CSR.S时出错_Assembly_Messages_Riscv - Fatal编程技术网

Assembly 为risc v工具链编译SCALL.S sbbreak.S和CSR.S时出错

Assembly 为risc v工具链编译SCALL.S sbbreak.S和CSR.S时出错,assembly,messages,riscv,Assembly,Messages,Riscv,我一直在尝试编译SCALL.S、sbbreak.S和CSR.S测试,但遇到了一些错误。我一直在使用的命令如下 riscv64未知elf gcc-c-m32-I../../../riscv tests/-o../../tests构建xhay/scall.o./scall.S 所看到的错误如下所示 ./../rv64si/scall.S: Assembler messages: ./../rv64si/scall.S:33: Error: absolute expression required `

我一直在尝试编译SCALL.S、sbbreak.S和CSR.S测试,但遇到了一些错误。我一直在使用的命令如下

riscv64未知elf gcc-c-m32-I../../../riscv tests/-o../../tests构建xhay/scall.o./scall.S

所看到的错误如下所示

./../rv64si/scall.S: Assembler messages:
./../rv64si/scall.S:33: Error: absolute expression required `li'
./../rv64si/scall.S:34: Error: Instruction csrr requires absolute expression
./../rv64si/scall.S:36: Error: Instruction csrr requires absolute expression
./../rv64si/scall.S:38: Error: Instruction csrw requires absolute expression
是否有人能指出运行此命令时出现的错误,或者是否需要运行其他命令