From: Michael H. <mw...@py...> - 2004-02-18 11:37:05
|
Nathan Froyd <fr...@cs...> writes: > I guess I was treating the (LDB (BYTE 32 0) ...) idiom as a "Do what C > would do" escape hatch and was surprised when it didn't give me the > answer I expected. Part of my surprise may have been a failure to note > that C's >> is a logical shift (right?) and ASH performs an arithmetic > shift instead. I believe what C does is actually undefined, but almost every C compiler out there does an arithmetic right shift (except some ... Cray? ... something that you're not surprised is different, anyway). Cheers, mwh -- My first thought was someone should offer Mr. Bush elocution lessons. But he'd probably say he knew how to work them chairs already. -- Internet Oracularity #1294-01 |