In
<caarmm9s6ru+ud+evde4yd7harhogp2ogjjxexyertsov+ow...@mail.gmail.com>,
on 12/27/2015
   at 03:14 PM, Tony Harminc <[email protected]> said:

>There's a third model for this very common operation:

>LA    R15,1
>A     R15,COUNTER
>ST    R15,COUNTER

If you're that concerned about speed:

          LA    R11,1
 LOOP     GET   foo
          logic to determine type
          L     Rl,COUNTER
          AR    R1,R11
          ST    R1,COUNTER
          B     LOOP
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to