Learn one new instruction today – Compare and Branch – CRB. You can tighten your code just a bit with CRB, an instruction that combines a comparison operation on two registers with a branch operation – all in one line. It comes with some extended mnemonics that make it easy to use. Learn all about it here in the time it takes to finish a cup of coffee.
Instruction of the Day: CRB
Categories:
2 thoughts on “Instruction of the Day: CRB”
Leave a ReplyCancel reply
Related Posts
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. ...
Structured Assembler Macros: The Case StatementStructured Assembler Macros: The Case Statement
Here’s a simple case statement using the HLASM structured CASE macro. Register 4 is selected (your choice not = 0) ...
IBM zDay, September 15IBM zDay, September 15
IBM zDay is coming soon, September 15. It’s a chance to catch 150 IBM zSystems experts for free! Register at >>> ...
I *love* these new (since z10/2008) “Compare […] and Branch” instructions.
I also love how you explain the extended mnemonics. Even though they’re found in both the Principles of Operations and the Reference Summary, I always end up going to Tachyon when I need one:
http://www.tachyonsoft.com/inst390m.htm
… your explanation makes it easy to remember.
“Compare […] and Branch” in Principles of Operations:
http://publibz.boulder.ibm.com/epubs/pdf/dz9zr006.pdf – page 7-57
Extended-Mnemonic Suffixes for Compare-and-Branch:
http://publibz.boulder.ibm.com/epubs/pdf/dz9zs005.pdf – page 39
Many thanks 🙂