For small, binary integer multiplications, you can use MH or MHI. With MHI, the second operand is stored as an immediate constant inside the instruction. The condition code isn’t set, so you have to be careful not to overflow the limits of the computation. Still, it’s a handy instruction. See some examples, and learn the details here.
Review an Instruction: MHI
Categories:
Related Posts
Review an Instruction: LTGR (IBM Assembler)Review an Instruction: LTGR (IBM Assembler)
We are loaded with Load instructions on IBM machines. Load and Test Grande Register is a useful instruction to keep ...
Marist ECC Conference – Free Online June 7-9Marist ECC Conference – Free Online June 7-9
Marist College sponsors one of my favorite mainframe conferences each year called the Enterprise Computing Conference. This year it is ...
Staudacher Comment PostedStaudacher Comment Posted
David Staudacher added a great comment about the “standard” entry code I posted. His assembly listing was mangled by the ...
