# Rules to optimize BCC assembler output # # $Id: rules.end.386,v 1.2 2001/08/27 08:40:16 gkminix Exp $ # Redo the changes done in rules.start. These only apply when compiling # without -Mc option to BCC. proc_start = push bp mov bp,sp push di push si proc_end = pop si pop di pop bp ret # Enter and leave instructions. These only apply when compiling using the # -Mc option to BCC. mov sp,bp pop bp = leave push bp mov bp,sp add sp,%[#|*]*-%1 = enter %1,0 push bp mov bp,sp dec sp dec sp = enter 2,0