diff options
Diffstat (limited to 'anim/scenes/zoom.zig')
| -rw-r--r-- | anim/scenes/zoom.zig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/anim/scenes/zoom.zig b/anim/scenes/zoom.zig index 426d3a3..8164b3b 100644 --- a/anim/scenes/zoom.zig +++ b/anim/scenes/zoom.zig @@ -36,8 +36,11 @@ fn frame(s: *anim.Frame) void { const joins = ctx.ties(s); canim.establish(s, .{ ctx.clock, ctx.registers, ctx.stack, ctx.backtrace, ctx.source, ctx.disasm, joins }); says.line(s, "A line of C is a handful of instructions.\nThis one calls `fib(n-1)`: follow it down."); - // The CPU's level: an instruction a step. The argument is worked out in `rdi`. + // The CPU's level: an instruction a step. The argument is worked out in `rdi`, + // `n` carried into it from its word first (`carry`, for this beat). + at.levels.carry = .arrow; at.walk(s, .moment, call.enter - 1); + at.levels.carry = .off; says.line(s, "`call` writes eight bytes on the stack: the way back."); // The stack holds still under the camera, set before it moves: six free |
