assembly - Errors in compilation of SCALL.S SBREAK.S and CSR.S for risc v tool chain -


i have been trying compile scall.s, sbreak.s , csr.s tests have been hitting errors. commands have been using follows

riscv64-unknown-elf-gcc -c -m32 -i ../../../riscv-tests/ -o ../../../tests-build-xhay/scall.o ./scall.s

the errors seen shown below

./../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 

could point out error here while running commands or there other command needs run.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -