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
WelcomeWelcome
Welcome to my site! I’ve been coding IBM mainframe assembly language since the late 1970’s. Over the years I’ve taught ...
Review an Instruction: ASIReview an Instruction: ASI
This little instruction comes with two surprises. I’ll tell you about one: It allows us to add two binary fields ...
I’m taking a breakI’m taking a break
I’m dealing with chemo therapy treatments these days, and it’s knocked me for a bit of a loop. I’ll be ...
