#1 In x86 assembly, you use can use JE or JNE. So you do the comparison, then jump. How you jump (or don't jump) determines if it was an = or #.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Allen E. Elwood Sent: Thursday, 3 March 2011 2:49 PM To: 'U2 Users List' Subject: Re: [U2] Is this worth rewriting? #1 In a binary register, in machine code, there is no such thing as #. There is NOT and = which is two comparisons. Now, granted, there have been significant improvements in cpu's since I did machine code in 1975, so maybe that has changed... #2 Ummm....hey, that's funny. I think I did that when I got to the part about the pictures of bedbugs in Judge Judy, which was really disgusting and made my brain fall out.... lol.... -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dan McGrath Sent: Wednesday, March 02, 2011 7:30 PM To: U2 Users List Subject: Re: [U2] Is this worth rewriting? 2 points of note for you. 1) In regards to B), I think I should just clarify that despite # also being able to be written as <>, is *not* 2 comparisons, but still one. 2) You don't need to reassign P* back into PARAMS after the loop since they are never updated. Cheers, Dan PS: Messing about with code would be a lot more fun than watching Judge Judy :) -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Allen E. Elwood Sent: Thursday, 3 March 2011 2:22 PM To: 'U2 Users List' Subject: Re: [U2] Is this worth rewriting? All right, I just went ahead and rewrote this the way I would do it since I haven't written a single <snip> _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ########################################################################################### The information transmitted in this message and attachments (if any) is intended only for the person or entity to which it is addressed. The message may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. The intended recipient of this e-mail may only use, reproduce, disclose or distribute the information contained in this e-mail and any attached files with the permission of IMB. ########################################################################################### _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
