feat(L08): add subroutines and ABI card

This commit is contained in:
user
2026-07-21 17:19:51 +02:00
commit ea50415a5e
42 changed files with 7250 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="600" height="210" viewBox="0 0 600 210" role="img" aria-labelledby="title desc"><title id="title">Wywołanie i powrót</title><desc id="desc">JAL lub JALR tworzy link, ABI przypisuje role rejestrom, a stos przechowuje zagnieżdżone adresy powrotu.</desc><defs><marker id="a" markerWidth="9" markerHeight="9" refX="8" refY="3" orient="auto"><path d="M0 0L0 6L8 3z" fill="#16324a"/></marker></defs><rect width="600" height="210" fill="#f7fafc"/><g fill="#eef3f7" stroke="#16324a" stroke-width="2"><rect x="20" y="58" width="125" height="84" rx="10"/><rect x="185" y="58" width="105" height="84" rx="10"/><rect x="330" y="58" width="105" height="84" rx="10"/><rect x="475" y="58" width="105" height="84" rx="10"/></g><g font-family="system-ui,sans-serif" text-anchor="middle" fill="#16324a"><text x="82" y="90" font-size="17" font-weight="700">JAL / JALR</text><text x="82" y="117" font-size="14">target + link</text><text x="237" y="90" font-size="17" font-weight="700">ra</text><text x="237" y="117" font-size="14">pc + 4</text><text x="382" y="90" font-size="17" font-weight="700">CALL STACK</text><text x="382" y="117" font-size="14">LIFO links</text><text x="527" y="90" font-size="17" font-weight="700">RETURN</text><text x="527" y="117" font-size="14">restore PC</text></g><g stroke="#16324a" stroke-width="3" marker-end="url(#a)"><path d="M145 100H175"/><path d="M290 100H320"/><path d="M435 100H465"/></g><text x="300" y="184" font-family="system-ui,sans-serif" text-anchor="middle" font-size="15" fill="#b6402d">ABI: argumenty · callee-saved · temporaries</text></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB