Article View: comp.lang.asm370
Article #961Re: hex to decimal
From: Don Bailes
Date: Fri, 09 Feb 1990 19:51
Date: Fri, 09 Feb 1990 19:51
4 lines
816 bytes
816 bytes
The easiest way to convert a hex value in a register to decimal (packed) form is the CVD instruction. See IBM 370: Computer Organization and Assembly Language for a complete discussion of CVD. If your intention is to print the number, use ED after the CVD to convert the number to printable form.
Technical Details
Message-ID:
<9002092211.AA21197@lilac.berkeley.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!ETSU.BITNET!I01BAILEReferences:
<SPGAAC@UCCVMA>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!ETSU.BITNET!I01BAILE From: I01BAILE@ETSU.BITNET (Don Bailes) Newsgroups: comp.lang.asm370 Subject: Re: hex to decimal Message-ID: <9002092211.AA21197@lilac.berkeley.edu> Date: 9 Feb 90 19:51:06 GMT References: <SPGAAC@UCCVMA> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: IBM 370 Assembly Programming Discussion List <ASM370%UCF1VM.bitnet@lilac.berkeley.edu> Distribution: inet Organization: The Internet Lines: 4