You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boot/docs/call_conv.md

373 B

Calling convention

boot0

I'm not sticking to any particular calling convention for boot0, since we have to golf to fit in 440 bytes. Whatever's most convenient.

boot1

  • Arguments: ax, cx, dx, stack
  • Return value: ax, cf for booleans
  • ax may be clobbered. All other registers are preserved
  • Callee cleanup (i.e. the function pops stack arguments when returning)