BBC BASIC for Windows
Programming >> Assembly Language Programming >> Optimising your Assembly Language
http://bb4w.conforums.com/index.cgi?board=assembler&action=display&num=1317937194

Optimising your Assembly Language
Post by David Williams on Oct 6th, 2011, 9:39pm

This looks like a good resource:

http://agner.org/optimize/
Re: Optimising your Assembly Language
Post by admin on Oct 6th, 2011, 10:23pm

on Oct 6th, 2011, 9:39pm, David Williams wrote:
This looks like a good resource:
http://agner.org/optimize/

Indeed, it looks useful. Just one point specific to the BB4W assembler: it knows that lea eax,[ebx+ebx] is preferable to lea eax,[ebx*2] and will use the shorter encoding automatically without you having to remember to do it yourself.

Richard.