PC Assembly Book (2006)
pacman128.github.io
pacman128.github.io
I wrote most of the book for the class I was teaching in the 90's. All the textbooks I could find were for 16-bit DOS assembly. I wanted to do 32-bit and use free software. I picked NASM and djgpp because most of my students used Windows. There was no free express version of MS Visual Studio back then. I also wanted to cover interfacing with C since that's how one typically uses assembly, plus it shows how C operates under the hood.
I went into industry in 2000, so never had the time to update it to 64-bit.
I skimmed through the book a bit and there is an explanation of what protected mode is in chapter 1, but the actual teaching assembly part of the book seems to be all 32 bit real mode. Is that correct?
A great place to visit for a break is @x86instructions Twitter[1] feed. Absolutely hilarious (and you will need some humor to keep your sanity with Assembly on Intel), e.g.:
MOV - Literally Copy Something Instead Of Moving It
or
VLTAYTMPNL - I’d Like To Add Your Scalar Vector Lane To My Professional Network On LinkedIn
...
And in my experience it makes teaching about C pointers so much easier.
I've come to the point in my life where I've realised I don't understand modern computers, so tasking myself with trying to learn about this stuff.
My mental model of computing is stuck at around the Z80, I wrote a gameboy emulator a few years ago, but that's far away from what modern machines are doing!
Also the instruction set tends to be quite small. I'd recommend starting with something like AVR though, a bit easier to get going than ARM.