2009/5/1 Eric Auer <e.a...@jpberlin.de>:

> Why did our old code do that complex "put bp at [bp+2]" thing?

I don't know; it is old code from Pat Villani. Perhaps it wanted to do an extra
"pop bp" from that place but bp was already set to sp so that would be
wrong too.

>> -                push    bp              ; trash old return address
>> -                mov     bp,sp
>> -                xchg    bp,[2+bp]
>> -                pop     bp

Bart

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to