summaryrefslogtreecommitdiff
path: root/DESIGN
diff options
context:
space:
mode:
Diffstat (limited to 'DESIGN')
-rw-r--r--DESIGN3
1 files changed, 3 insertions, 0 deletions
diff --git a/DESIGN b/DESIGN
index 55bd28c..3b76393 100644
--- a/DESIGN
+++ b/DESIGN
@@ -13,6 +13,9 @@ Use the cdecl calling convetion when calling assembly from C.
Stick to NASM assembly bare features (equ, org). Use only the absolute
minimum.
+Use only as much assembly as needed, if necessary call a stub function
+from C doing the things we would normally do in inlined assembly.
+
Make sure it compiles with every ANSI C99 compiler (gcc, clang, tcc, ...).
Use only what is needed, nothing fancy.
Try to compile as often as possible with different compilers on different