Support preserved registers as identifiers

… in expressions
This commit is contained in:
2025-04-29 23:08:46 +02:00
parent 9c66cec171
commit 23b7a1ab30
6 changed files with 851 additions and 503 deletions

View File

@ -37,7 +37,7 @@ end
directory 'build'
desc 'Initial stage'
file 'build/stage1' => ['boot/stage1.s', 'boot/common-boot.s', 'build'] do |t|
file 'build/stage1' => ['boot/stage1.s', 'boot/common-boot.s', 'boot/tokenizer.s', 'build'] do |t|
source = t.prerequisites.filter { |prerequisite| prerequisite.end_with? '.s' }
sh CROSS_GCC, '-nostdlib', '-o', t.name, *source