Start with project

This commit is contained in:
Jan-Niclas Loosen
2025-10-23 13:45:02 +02:00
parent 5e616dd0a2
commit b0974af092
21 changed files with 658 additions and 84 deletions

View File

@@ -0,0 +1,11 @@
// Quellkode: let square(x) { x*x }
// in square(10)
// Annahmen: Das Argument von square wird durch Kellerzelle 0 repraesentiert,
// sowie PP=0, FP=0 und TOP=-1
CONST 10
INVOKE 1 LSQUARE 0
HALT
LSQUARE: LOAD 0 0
LOAD 0 0
MUL
RETURN