add counter2 program that is more efficient

This commit is contained in:
Joe Tretter
2025-08-29 17:44:03 -05:00
parent c4151260d0
commit fb071d2000
3 changed files with 106 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
nasm -f elf64 counter.asm -o counter.o
#nasm -f elf64 counter.asm -o counter.o
nasm -f elf64 -g -F dwarf counter.asm -o counter.o
ld counter.o -o counter
./counter