Multiply Grande (MG) is the sister instruction of Multiply(M) and produces produces 128-bit products in an even/odd register pair. Ususally the result we are looking for is in the single, odd, grande (64-bits) register. That presents a problem: How do we convert a 64-bit product in a grande register to packed-decimal? It’s not obvious and requires a bit of mathematical know-how. This article shows you the assembler code that will do the conversion, and points to an explanation.
Review an Instruction: MG
Categories:
Related Posts
SRP and BASR Video InstructionSRP and BASR Video Instruction
Want to learn more about Shift and Round Packed? Exactly how does BASR load the base address of an assembler ...
IBM Z Day – September 15, 2021IBM Z Day – September 15, 2021
IBM Z Day 2021 is a free, 1-day virtual conference for students and professionals. I think you will find it well worth ...
Adding Away (AFI, AG, AGF)Adding Away (AFI, AG, AGF)
I’m adding more short instruction videos that can be found on the IBM Mainframe Assembler tab (last table). Each video ...
