I have this case of two virtually identical routines that must run at the ultimate speed. One approach would be:
RSEG ?DT?FormatBitSegment FBSfcol: DS 1 RSEG ?PR?FormatBitSegment?AVFMTBS USING 0 FormatScrollSegment: ...... mov a,FBSfcol ...... sjmp common FormatBitSegment: ...... mov a,FBSfcol ....... common: ....... ...... mov a,FBSfcol ...... ret
No, local storage can get confused. How about using F0 in the PSW for your flag?
Jon, No mention of a flag in my post, what are you talking about ? Erik
My mistake. Please ignore my ramblings.