The LAA (Load and Add) instruction packs two operations into one instruction. While you might not want to use it as a single instruction, it seems well- designed for looping, so withhold your initial judgment. There is an added benefit to learning this one – there are lots of other “LOAD AND …” instructions. Learn this one and you will know others by association. Here is the writeup.
Review an Instruction: LAA (IBM Assembler)
Categories:
Related Posts
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 ...
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 ...
The Best of All Possible WorldsThe Best of All Possible Worlds
In the best of all possible worlds, each assembler program we write would require only a single base register. Alas, ...
