Something that will never cease to amuse me is the xor a, a pattern in CISCs to ...
endrift 🏳️⚧️ @endrift@treehouse.systems
Something that will never cease to amuse me is the xor a, a pattern in CISCs to clear a register. It's fewer bytes in machine code than an equivalent mov a, 0 instruction since it doesn't need to encode the value of 0 in the instruction itself, so it saves on code size and (depending on the architecture) cycles too.