; ; File generated by cc65 v 2.11.0 ; .fopt compiler,"cc65 v 2.11.0" .setcpu "6502" .smart on .autoimport on .case on .debuginfo on .importzp sp, sreg, regsave, regbank, tmp1, ptr1, ptr2 .macpack longbranch .dbg file, "system.c", 304, 1061022181 .dbg file, "../../include/stdio.h", 5945, 1113916546 .dbg file, "../../include/stddef.h", 2974, 1061022172 .dbg file, "../../include/stdarg.h", 2817, 1102777145 .dbg file, "../../include/stdlib.h", 5287, 1122210074 .export _system ; --------------------------------------------------------------- ; int __near__ system (const unsigned char*) ; --------------------------------------------------------------- .segment "CODE" .proc _system: near .segment "CODE" ; ; if (s == NULL) { ; .dbg line, "system.c", 13 ldy #$00 lda (sp),y iny ora (sp),y bne L0003 ; ; return 0; /* no shell */ ; .dbg line, "system.c", 14 tax jmp incsp2 ; ; return -1; /* always fail */ ; .dbg line, "system.c", 16 L0003: ldx #$FF txa ; ; } ; .dbg line, "system.c", 18 jmp incsp2 .dbg line .endproc