LF: Registers vs the stack


[Prev][Next][Index][Thread]

LF: Registers vs the stack



Which would be the fastest method of sending data to a library? Moving
it to registers or pushing it to the stack?

The first has the advantage that I can use MOVEM in my library, but
the second doesn't occupy any registers in the calling program. However,
if I use the second, how can I use MOVEM to preserve registers?


 - Niklas Brunlid (nma95nbr@student1.lu.se)
PQF quote follows:

The calender of the Theocracy of Muntab counts down, not up. No-one knows
why, but it might not be a good idea to hang around and find out.
        -- (Terry Pratchett, Wyrd Sisters)


Follow-Ups: