Uploaded June 2021 | Updated September 2026, 6 hours ago
#ARM #ARM64 #ASSEMBLER #ASSEMBLY
Today we will explore storing registers to the stack and popping them off the stack. Making our own little stack frame.
And using that stack frame to print the register value to screen in decimal format.
Then we will briefly touch on the Kernighan bit count algorithm.
code:
github.com/rdoetjes/tuts/blob/main/asm/arm64_linux/bitcount/bitcount.s
#ARM #ARM64 #ASSEMBLER #ASSEMBLY
Today we will explore storing registers to the stack and popping them off the stack. Making our own little stack frame.
And using that stack frame to print the register value to screen in decimal format.
Then we will briefly touch on the Kernighan bit count algorithm.
code:
github.com/rdoetjes/tuts/blob/main/asm/arm64_linux/bitcount/bitcount.s









![CODING LIKE ITS 1989
We will be coding a Turbo On/Off switching tool for an old Compaq, based on Adrians Digital Basement episodes.
We will learn how to:
-load registers
-if then else statements (when arg is 0 then turbo off else, turbo on)
-read form memory
-write text to screen
-write to IO ports
The code we will create:
https://github.com/rdoetjes/turbo
The dosbox TASM development environment, to code along:
https://www.subliminal-artit.com/assets/dosbox.zip
THIS NEEDS TO GO IN YOUR DOSBOX CONFIG FILE
[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.
mount c ~/dosbox
PATH=C:TCBIN;C:TASMBIN
C:
CD X86CODE
Callous Coder idea by Raymond Doetjes CODING LIKE ITS 1989](https://i.ytimg.com/vi/trGgIdVOuLY/mqdefault.jpg)
