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
Standard Entry and Exit VideoStandard Entry and Exit Video
How do we get in and out of a program? I call it my standard entry and exit code, but ...
Review a Six-pack of Instructions! (IBM Assembler)Review a Six-pack of Instructions! (IBM Assembler)
You can quickly learn or review six IBM Assembler instructions with this article. Insert Immediate instructions allow you to modify ...
VisualZ Has Been UpdatedVisualZ Has Been Updated
Here’s your chance to learn many new assembler instructions! I just published the latest version of VisualZ which represents a ...
