Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22248

Assembling MULS instruction on ARM with gcc and as

$
0
0

I have the following instruction in an assembly file:

MULS R0, R0, R2        

This assembles fine using gcc (gcc -o prog pros.s) and the program works. When I use as to assemble (as -o prog.o pros.s) I get:

Rd and Rm should be different in mul

Any idea why?


Viewing all articles
Browse latest Browse all 22248

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>