问题
On the process of learning Assembly i got one question
If i do the following:
la $a1, 0x3f
The number 63 is "putted" on a1.
But If I do:
la $a1, 63
Its the same.
But how can I handle binary? Lets say
la $a1, 00111111
How can MIPS understand that 00111111 is the number 63 in binary?
回答1:
Binary literal constants are not typically supported. What assembler are you using? If it supports C style preprocessing, there are several options available.
Here is one example.
来源:https://stackoverflow.com/questions/9828251/mips-understand-binary-representation