Generally speaking, for most instructions and architectures, comparisons end at 
inequality, to unequal operands may compare faster than equal ones.

Charles


-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]] On 
Behalf Of Bob Flanders
Sent: Wednesday, June 7, 2023 11:28 AM
To: [email protected]
Subject: Re: Shower thought

So does that mean if I compare two long byte vectors where the first byte
is x'80' in the first operand, and the second is x'00' in the second
operand, the operation is the fastest it can be? (It would take much longer
if the two strings are completely equal?)

--
Bob Flanders
I Cor 15:1-4


> <Kersnip />

Reply via email to