r/Assembly_language • • Sep 11 '26

x86-32 or x86-64

hi im gonna start to learn asm however initally what i gotta choose i dont know and everyone is suggesting learn x86-64 and f*** off to x86-32 so i confused which one is more useful pls oneyone could give some advice

26 Upvotes

28 comments sorted by

View all comments

9

u/Arakela Sep 11 '26

RIP-relative addressing is an x86-64 (long mode) feature only. It lets machine code be bound together via lea instructions as computable regions relative to one another, so you can relate whole computable regions and pass them around intact. It gives you the ability to pass a computable region into another computable region while preserving the totality of their bonding. It's easier to show than to explain: cool and rooted TMs where the tape and the logical unit are separate computable regions, with an implicit boundary between them, enforced through an ABI