Consider the following C function:
<c> extern int printf(const char *format, ...); int printlist(int lo, int hi) {
int ix = lo; while (ix < hi) { printf("%d\n", ix); ix++; } return ix;
} </c>
The Postfix code for the above function is as follows:
[Expand] Postfix code |
---|
To compile the Postfix code directly, pf2asm can be used: