FictionTools/z88dk/src/sccz80/codegen.c
/* store a two byte object in the primary register at TOS */
store a two byte object in the primary register at TOS
store a two byte object in the primary register at TOS
void puttos(void)
{
#ifdef USEFRAME
    if (c_framepointer_is_ix != -1) {
        ot("ld\t");
        OutIndex(0);
        outstr(",l\n");
        ot("ld\t");
        OutIndex(1);
        outstr(",h\n");
        return;
    }
#endif
    ol("pop\tbc");
    ol("push\thl");
}
void puttos ( void ) { #ifdef USEFRAME if ( c_framepointer_is_ix != -1 ) { ot ( " \t " ) ; OutIndex ( 0 ) ; outstr ( " \n " ) ; ot ( " \t " ) ; OutIndex ( 1 ) ; outstr ( " \n " ) ; return ; } #endif ol ( " \t " ) ; ol ( " \t " ) ; }
store a two byte object in the primary register at TOS
store a two byte object in the primary register at TOS