> acid: asm(_main)
> _main 0x00001020      SUBL    $0x18,SP
> _main+0x3 0x00001023  MOVL    $0x1,0x0(SP)
> _main+0xa 0x0000102a  MOVL    $string(SB),0x4(FP)
> _main+0x12 0x00001032 MOVL    $0x7,0x8(FP)
> _main+0x1a 0x0000103a MOVL    $0x0,0xc(FP)
> _main+0x22 0x00001042 MOVL    $0x0,0x10(FP)
> _main+0x2a 0x0000104a MOVL    $0x33,AX
> _main+0x2f 0x0000104f INTB    $0x40
> _main+0x31 0x00001051 ADDL    $0x18,SP
> _main+0x34 0x00001054 RET
> 
> why does the

... SP in the .s get changed to FP unless the offset is 0?

- erik

Reply via email to