MISC - Stack Based vs. Register Based

Mar 29, 2013 60 Replies

"Albert van der Horst" wrote in message news:515e262b$0$26895$ snipped-for-privacy@dreader37.news.xs4all.nl...

Why do you say that?

It seems good for 256 byte (or less) lookup tables, 8-bit character translation, simple decompression algorithms, etc. You can even use it for multiple tables at once, e.g., using XCHG to swap BX. It's definately difficult for a compiler implementer to determine when to use such a CISC instruction.

Rod Pemberton

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required