On Wed, 8 Mar 2017 11:33:31 -0700, Paul Gilmartin wrote:

>It probably save hardware to decrement as well as increment in
>accessing storage.  Consider that CLC goes left-to-right but
>AP goes right-to-left.

AP goes right to left because it would otherwise have to do more work to 
propagate carry.

CLC goes left to right because it can stop as soon as it finds a mismatch and 
recognize which is greater. If all you wanted to check for was that the two are 
equal, you could go either way, but that's not as useful.

-- 
Tom Marchant

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to