Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug in Turbo Pascal V3.01a

13 views
Skip to first unread message

Robert Prins

unread,
Jun 15, 2021, 12:23:51 PM6/15/21
to
move(trip, _minmax[1].fasts[1].fast_trip, sizeof(fastid));

where fastid has a size of 4.

The compiler emits a "mov ax, 4" twice.

Absolutely no clue why. Use 4 (and loose portability) and it's OK.

Having fun decompiling code to mis-matched source, and given that all the
Borland Pascal compilers are simple one-pass programs, that turns out to
relatively easy! ;)

Robert

PS: And no I haven't got anything better to do.
--
Robert AH Prins
robert(a)prino(d)org
The hitchhiking grandfather - https://prino.neocities.org/indez.html
Some REXX code for use on z/OS - https://prino.neocities.org/zOS/zOS-Tools.html
0 new messages