From: H. P. A. <hp...@zy...> - 2009-08-19 20:19:54
|
On 08/19/2009 11:43 AM, Frank Kotler wrote: > H. Peter Anvin wrote: >> On 08/19/2009 10:11 AM, Frank Kotler wrote: >>> Or even: >>> >>> push write >>> pop rax >>> >>> Smaller, if that's the goal, but slower (I think), and it doesn't do >>> much for "readability", IMO. >>> >> mov eax,... >> >> ... is even smaller (5 bytes.) > > I should have specified the "-Ox" switch, or "push byte write". > Ah yes, that does work for values <= 127. It's really slow, though. -hpa |