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
Structured Assembler Macros: ELSEIFStructured Assembler Macros: ELSEIF
The IF macro can be paired with an ELSEIF companion macro to build a simple case statement. In the code ...
Links UpdatedLinks Updated
I’ve updated the links to a few html pages that used Flash to reference mp4 files. If you have any ...
Punctilious?Punctilious?
Dear Reader, I’m not punctilious. I wish I were. It is a goal. The recent writeup of ASI contained a ...
