AArch64 Playgroundreference
06 · reference
Reference
A searchable map of the supported instructions and the calling convention.
/
80 instructions
mov
Copy register or wide immediate into Rd.
Data processing
mov xd, xn / mov xd, #imm / mov xd, sp / mov vd.T, vn.T
c equivalent
// uint64_t Rd, Rm (an immediate works the same way)Rd = Rm;// .16b: uint8_t Vd[16], Vn[16]for (int i = 0; i < 16; i++) Vd[i] = Vn[i];flags
NZCVdoes not set flagsmov x9, 42 // x9 = 42mov x10, x9 // copy: x10 = 42 too- the immediate form only takes a value that fits one shifted 16-bit field; a wider constant needs a move-wide then keep sequence.