might a lurker ask questions?

if one rearranges the code at bottom as this, is the load of R2 "cheaper" 
because it can be done in parallel w/the LT?  is it worth doing if the JZ 
is taken?

is 0(,R1) preferred to 0(R1) because of cost or esthetics?

    LT   R1,POINTER
    L   R2,INTVAL
    JZ   AROUND
    ST   R2,0(,R1)
 AROUND DS    0H

> From: "McKown, John" <john.mck...@healthmarkets.com>

>    L   R2,INTVAL
>    LT   R1,POINTER
>       STOC   R2,0(,R1),NZ
> 
> instead of:
> 
>    LT   R1,POINTER
>    JZ   AROUND
>    L   R2,INTVAL
>    ST   R2,0(,R1)
> AROUND DS    0H
> 
> for the C construct:
> 
>    if (POINTER != NULL) *POINTER=INTVAL;


-----------------------------------------
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the individual or entity to whom
it is addressed. If the reader of this message is not the intended
recipient or an agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this
communication in error and that any review, dissemination, copying,
or unauthorized use of this information, or the taking of any
action in reliance on the contents of this information is strictly
prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original
message. Thank you 

----------------------------------------------------------------------
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