Commit Graph

5 Commits

Author SHA1 Message Date
1c36c69738 Made $2=$CF, $3=$SP.
Implemented Call and Return.
2025-08-15 05:19:49 +10:00
a8b526c645 Working on __open.
Working op `load` instruction.
2025-08-03 01:20:55 +10:00
ec6e7e1351 Fixed linker. 2025-08-02 06:31:00 +10:00
6eb87e433e Hello world finally works.
Sample working code:
.data:
text0 "Hello, World!\n"
.code:
sd.int32 $4 123
sd.int32 $5 321
sd.int32 $10 1
sd.int32 $11 text0
sd.int32 $12 14
sys 4

sd.int32 $10 100
sys 1
bmath add Int32 $4 $5 $6
2025-08-01 03:43:09 +10:00
269a2b51be Working on a BSD-Style syscall wrapper. 2025-08-01 00:06:32 +10:00