diff --git a/calling-convention/Output-explanation.md b/calling-convention/Output-explanation.md index 4840f15..d89aaa8 100644 --- a/calling-convention/Output-explanation.md +++ b/calling-convention/Output-explanation.md @@ -51,6 +51,7 @@ Collected result: {'result': {'type': 'result', 'value': 99}} ``` **Explanation:** + Spider provides 6 registers for passing arguments: RA, RB, RC, RD, R8, R9. The first 6 arguments (a through f) fill all available registers. Arguments `g` and `h`, which are 64-bit values, have no registers left and @@ -79,6 +80,7 @@ Collected result: {'ok': {'type': 'result', 'value': True}} ``` **Explanation:** + Booleans (1-bit values) are not placed individually into registers. Instead they are accumulated into a queue and packed together before occupying a single register. The 3 boolean flags (flag1, flag2, flag3)