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
Instruction of the Day: LInstruction of the Day: L
Listen to the lesson of the day here. You can find all the assembler resources here, and all the VisibleZ ...
IBM zDay, September 15IBM zDay, September 15
IBM zDay is coming soon, September 15. It’s a chance to catch 150 IBM zSystems experts for free! Register at >>> ...
Review an Idea: AlignmentReview an Idea: Alignment
A place for everything, and everything in its place. In assembler, that means that the things we define require proper ...
