On 2/3/25 15:47, ben via cctalk wrote:
No compiler generates bad code,just some hardware was
never meant to
have stack based addressing, like the 6502 or the 8088/8086.
Really? The x86 family does indeed have stack-based addressing. In
particular, The BP register holds the base of the stack frame and the
assumed segment is SS. Even the lowly 8085 has some (undocumented) nod
toward stack addressing.
--Chuck