Use NL/EOS instead of 10/0, use constants.asm for global constants

This commit is contained in:
2025-06-24 16:34:06 +02:00
parent e48e91630e
commit 2005adf25f
4 changed files with 49 additions and 38 deletions

View File

@ -1,7 +1,9 @@
tests: tests.o core.o console.o string.o
gcc tests.o core.o console.o string.o -o tests -no-pie -z noexecstack
tests: tests.o constants.o core.o console.o string.o
gcc tests.o constants.o core.o console.o string.o -o tests -no-pie -z noexecstack
tests.o: tests.asm
nasm tests.asm -f elf64 -l tests.lst -g -F dwarf
constants.o: constants.asm
nasm constants.asm -f elf64 -l constants.lst -g -F dwarf
core.o: core.asm
nasm core.asm -f elf64 -l core.lst -g -F dwarf
console.o: console.asm