Closed milesrout closed 9 years ago
%r11
(%y
), %r12
(%bp
), %r13
(%sp
), %r14
(%ia
) and %r15
(%flags
) all have alternate names.
It could be added as an alias on the assembler. I personally not like to use letters because makes to think that have special functions like on x86 assembly.
Why would clearly sequential letters make it look like they have special functions?
Perhaps is my past experience with x86 assembly. xD
This should be implemented or closed.
How about naming them
%A
,%B
,%C
,%D
,%E
,%F
,%G
,%H
,%I
,%J
instead of their current numbers? Letters are easier to think about than numbered registers, for me at least.Alternatively, define those letters as alternates, much like
and
is an alternate for&&
in C++?Alternatively, leave it up to an assembler to define them as macros if it so desires, such as
and
and&&
in C (with<iso646.h>
).