News for hackers. Stuff that matters.
Re:Compiling to Assembly from Scratch [free to read online] by pjc50 on Monday September 23, 2024 @05:29AM (#41624108)
"ARM Architecture reference manual": https://documentation-service.arm.com/static/5f8daeb7f86e165... (assuming that link works)

Start at section A5 describing the encoding. The instruction set is very much designed for clean decode, so instructions are grouped by bit pattern; every instruction in the manual has its bit pattern described.

Very much a "but why?" situation, since translation from assembly to machine code is so easily automatable and doing it by hand adds so little value.

Re:Compiling to Assembly from Scratch [free to read online] by alok-g on Monday September 23, 2024 @06:50AM (#41624614)
>> but why?

Agreed. More of a curiosity for me from learning and research purposes.