From: "Paul Gilmartin" <[email protected]> Sent: Thursday, 9 September 2010 12:35 AM
Now, returning to your posted code:-
LH R1,=H'-4096'
USING -4096,R1
LA R2,*
LA R3,-4(,R2)
What does R3 now address?
Instead of such obfuscated code, better is: balr 5,0 using *, 5 It's code like the above 4-line segment that gives assembly-language programmers a bad name. BTW, the second LA above -- when corrected -- effectively performs sign extension on the x'FFC' displacement.
