True, but the code will treat 32768 as -32768 and format it as 32768. Robert Ngan CSC Financial Services Group
IBM Mainframe Assembler List <[email protected]> wrote on 2015/10/27 19:19:38: > From: Robin Vowels <[email protected]> > To: [email protected] > Date: 2015/10/27 19:20 > Subject: Re: Displaying port nr in decimal > Sent by: IBM Mainframe Assembler List <[email protected]> > > From: "Robert Ngan" <[email protected]> > Sent: Wednesday, October 28, 2015 8:38 AM > > > > LH will give incorrect results for values greater than 32768. > > 32767. > That is the largest positive value, as for LH, the most-significant bit > is extended through the high-order positions. > The grestest negative value is -32768.
