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
Review an Instruction: LTGR (IBM Assembler)Review an Instruction: LTGR (IBM Assembler)
We are loaded with Load instructions on IBM machines. Load and Test Grande Register is a useful instruction to keep ...
z390 Support in VisibleZz390 Support in VisibleZ
I envisioned VisibleZ as a teaching tool for assembly language – I wanted to force students to deal with object ...
Links UpdatedLinks Updated
I’ve updated the links to a few html pages that used Flash to reference mp4 files. If you have any ...
