Changes

Jump to navigation Jump to search

ARMv8

502 bytes added, 16:07, 23 January 2019
add calling stuff
| NV || Always executed.
|}
 
==Method Calling==
As with any other architecture, certain registers are set to be ''parameter registers'', which are registers used to pass a value / reference to another method. As stated above, the first 8 registers (X0-X7 / W0-W7) are used. The order of types can be any pattern, as long as it properly increments the register number. For example:
 
X0, X1, X2, W3, X4, W5 would be (assuming X is long and W is of type int):
long, long, long, int, long, int.
 
W0, X1, W2 would be:
int, long, int.
24
edits

Navigation menu