On Wed, 30 Apr 2008 17:48:05 +0300, Binyamin Dissen wrote:

>You can do
>
>        FP2       EQU   2
>        R2        EQU   2
>
>and if you
>
>            LR    R3,FP2
>
>GR2 will be copied, not FPR2.

And with the current release of HLASM you can also do this:

R2       EQU   2,,,,GR
R3       EQU   3,,,,GR
...
FP2      EQU   2,,,,FPR

and HLASM will then flag the above LR statement with a warning:

** ASMA323W Symbol FP2 has incompatible type with general register field


Regards,
Roger Bowler

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to