#include "machine.h"

int main() { 
    pushp(FP);
    FP = SP;
    SP -= 1;
    pushw(R1);
    *((WPtr)(((WPtr)(FP)+-1))) = (Word)(10);
_T12:
    R1 = *((WPtr)(((WPtr)(FP)+-1)));
    if ( R1 < (Word)(0) ) goto _T11;
    pushw(*((WPtr)(((WPtr)(FP)+-1))));
    put_int();
    R1 = *((WPtr)(((WPtr)(FP)+-1)));
    R1 -= (Word)(1);
    *((WPtr)(((WPtr)(FP)+-1))) = R1;
    goto _T12;
_T11:
_T10:
    popw(R1);
    SP += 1;
    popp(FP);
    return 0;
} 

