I’m still working my way alphabetically (ususally) through the instruction set, picking instructions you should learn. We are in the M’s and there’s a plethora of multiply instructions we can review. I’m also selecting instructions I haven’t already covered. Today’s instruction is Multiply Single Register (MSR), which provides an easy way to multiply two single-precision register values without much setup. The result should be single-precision if you want to use this instruction. Read about MSG here.
Review an Instruction: MSR
Categories:
Related Posts
Structured Assembler Macros: The While LoopStructured Assembler Macros: The While Loop
Build a while loop using the structured assembler Do macro. Here is the relevant code: DO WHILE=(CP,X,LT,=P'10') AP X,=P'1' MVC ...
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 ...
Techniques for Converting From Binary to Packed-DecimalTechniques for Converting From Binary to Packed-Decimal
If you are generating a binary result in a register and converting the result back to packed-decimal, you need to ...
