As part of my series on learning assembly for my old 80’s era computer, I’ve been developing a call stack, since the hardware doesn’t have one built-in. Today, we’re going to talk about what a calling convention is, and design one for the TI-99/4A.
Typically, a compiler targeting a particular architecture will have a calling convention defined, that is,...