Keep DAA! (was Re: 8086 bugs)
Jim Leonard
trixter at oldskool.org
Sun Dec 11 18:00:55 CST 2005
woodelf wrote:
>> Oh it is, by far. But I love XLAT for 8088-class programming.
>
> I thought XLAT was a real hack!
It's a 1-byte instruction that replaces AL with its index in a 256-byte table
stored in DS:BX and does so in 11 cycles! What's not to like? The closest
equivalent would be MOV AL,[BX+SI] which is 3 bytes long, takes 15 cycles, and
burns up SI in the process.
Today, don't use it. But on 8088, it's just plain *fun* to use.
--
Jim Leonard (trixter at oldskool.org) http://www.oldskool.org/
Want to help an ambitious games project? http://www.mobygames.com/
Or check out some trippy MindCandy at http://www.mindcandydvd.com/
More information about the cctalk
mailing list