Load Address Relative Long (LARL) is a powerful instruction that can be used to reduce the number of registers your program uses. This is a new article for the website that can be accessed here.
Review an Instruction: LARL
Categories:
4 thoughts on “Review an Instruction: LARL”
Leave a ReplyCancel reply
Related Posts
Get Shifty – Shift Factors in Shifts and Rotate InstructionsGet Shifty – Shift Factors in Shifts and Rotate Instructions
There’s two distinct approaches you can take when coding shifts and rotate instructions: 1) Hardcoded Shift Factor – Here’s a ...
Re-write/ update of Chapters 1-4 of “The Book”Re-write/ update of Chapters 1-4 of “The Book”
I’m in full assembler mode these days, preparing to teach an assembler class for Marist College that starts on Monday. ...
Learn You a COBOL for Great GoodLearn You a COBOL for Great Good
The title is a reference to one of my favorite programming language instruction texts: Learn You a Haskell for Great ...

“LARL can reduce the number of base registers that are needed in your program because it can reach roughly +/- 2 Gigabytes from the address where it is coded.”
A BAL coder of sound mind would never contemplate 2³¹ of addressability in a single module. Really. Never.
Good point. Still, You can get register relief with shorter programs by using instructions like LARL.
I think you have a typo. The 24-bit description should read:
“With 24-bit addressing, the address is placed in the operand one register using bit positions 40-63, bits 32-39 are set to 0’s, and bits 0-31 are unchanged”
Thanks, I corrected it.