On Fri, 2 May 2025 at 11:18, Paul Gilmartin <
[email protected]> wrote:

> On Fri, 2 May 2025 10:38:10 -0400, Phil Smith III  wrote:
>
> >I can't answer this, but I've seen the x'001234' format called "binary
> decimal", which always makes my head hurt a bit. OTOH it's unambiguous,
> which is always A Good Thing.
>

Principles of Operation calls it "unsigned-packed-decimal" format.

Unambiguous, but is there hardware support?  And for negative values?  And
> for operations
> with mixed packed and "binary decimal"operands.


There is explicit hardware support, though somewhat less than there is for
the signed-packed-decimal format. There are instructions that convert
between unsigned-packed-decimal in storage or a general register and
decimal floating point (DFP) . ED and EDMK can handle
unsigned-packed-decimal, and of course MVO can convert between
unsigned-packed-decimal and signed-packed-decimal in storage.

I'm not sure that unsigned-packed-decimal was given a name until DFP came
along.

Tony H.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to