Hacker News new | ask | show | jobs
by lynguist 54 days ago
Indeed!!

MIPS - $zero

RISC-V - x0

SPARC - %g0

ARM64 - XZR

3 comments

PowerPC: "r0 occasionally" (with certain instructions like addi, though this might be better considered an edge case of encoding)
On 64-bit ARM, the same register number is XZR in some instructions and the stack pointer in others.
Alpha: r31, f31