Commas are *very* important in AR-mode

You have coded "LAE   R3,0(R4)" - which is the same as "LAE   R3,(R4,R0)"

Coded that way there is no automatic way that AR3 is going to inherit the AR4 
value.

You need : "LAE   R3,0(,R4)"

This will ensure that AR3 is populated from the AR for the referenced base 
register R4.


Rob Scott
Lead Developer
Rocket Software
275 Grove Street * Newton, MA 02466-2272 * USA
Tel: +1.781.684.2305
Email: rsc...@rs.com
Web: www.rocketsoftware.com


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of 
Micheal Butz
Sent: 06 March 2012 19:05
To: IBM-MAIN@bama.ua.edu
Subject: LAE instruction

Hi,

 

I have two part question regarding the LAE instruction 



.         What would the sac value e.g. 256,512,768 have to be that when
using the LAE instructions with the following operands LAE  3,0(R4) would
AR3 get loaded with AR4 

 

.         Second what value does the displacement play in the instruction

 

 

 

 

 

                 Thanks     


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

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

Reply via email to