16 Commits

Author SHA1 Message Date
9325726217 include asm.h seperately 2025-12-26 12:34:40 +01:00
f00f9bd9a1 write documentation for string.h functions. 2025-12-26 12:33:35 +01:00
28abee196c apply attributes to functions in string.h 2025-12-26 12:29:44 +01:00
fde3351328 Add attribute definitions into atrb.h 2025-12-26 12:20:31 +01:00
659fb496f8 refactor loops to reduce line count 2025-12-24 13:08:07 +01:00
cabb0fabd5 implement memmove 2025-12-24 12:55:43 +01:00
f79a8e7e25 replace n>0 with an evaluation of n. 2025-12-24 11:41:30 +01:00
65d135d524 Implement most of the string.c functions. 2025-12-23 21:42:48 +01:00
69a8ee7115 write TODO comments for implementation notes 2025-12-23 20:51:26 +01:00
0538a0a634 start writing STDC functions that are necessary for correct linking.
gcc will optimise calls to these four functions, and requires
definitions to these funcitons.
It is better to let it make these optimisations, rather than disabling
this functionality with the `-nostdc` flag.
2025-12-23 13:10:27 +01:00
dd590b9f42 rework Makefile
One issue is that dependencies are not properly generated, this will be
implemented later.
2025-12-23 13:09:00 +01:00
198dbfca60 produce both *.out and *.hex files 2025-12-22 16:43:51 +01:00
b9dda316a5 add processor to cflags and ldflags 2025-12-22 16:39:54 +01:00
6ca3c1fcac fix: GNU Make predefines variables
This causes issues leading to the various flags and variables being set
to unexpected values.
2025-12-22 15:06:50 +01:00
4701e047e5 fix: incorrect header in source file 2025-12-22 14:45:12 +01:00
2f1714851f include all files 2025-12-22 13:34:10 +01:00