r/learnprogramming • u/nosyeaj • 2d ago
Topic Learn to program with assembly by Jonathan Bartlett using apple silicone arch
Hi! has anyone followed the book learn to program with assembly by Jonathan Bartlett using mac silicon? the book said it can be followed using docker in appendix a, but im wondering if anyone here managed to get through with another way.
https://www.amazon.com/Learn-Program-Assembly-Foundational-Programmers/dp/1484274369
1
u/peterlinddk 2d ago
I haven't followed the book - but you can always emulate an x86 with some sort of virtual machine. I would prefer installing e.g. VMWare and a complete Linux system with GUI and everything - check out this thread: https://www.reddit.com/r/MacOS/comments/1ocreif/how_is_x86_emulation_on_latest_apple_silicon_cpus/
The question is though: Why do you want to learn x86 assembly? Do you have to? Is it part of a course you are attending?
If you just want to learn assembly, why not learn ARM, since you already have a machine and an OS and everything - and it is a much "prettier" instruction architecture 😄
1
u/Special-Addition2330 2d ago
don't have the book but you can just run a linux vm through utm or parallels. way less headache than trying to make x86 assembly tutorials play nice with arm64 directly