Yes, I should have said "for (unsigned) register values greater than 32768".
Robert Ngan CSC Financial Services Group IBM Mainframe Assembler List <[email protected]> wrote on 2015/10/27 18:18:33: > From: Bob Rutledge <[email protected]> > To: [email protected] > Date: 2015/10/27 18:19 > Subject: Re: Displaying port nr in decimal > Sent by: IBM Mainframe Assembler List <[email protected]> > > On 10/27/2015 6:56 PM, Tony Harminc wrote: > > On 27 October 2015 at 17:38, Robert Ngan <[email protected]> wrote: > >> LH will give incorrect results for values greater than 32768. It > should be LLH. > > > > True, but in this context it is fine, because the largest port number > > is 65535. As the OP said in the OP. > > > > Well, sure, maybe IP V8 will have 64-bit port numbers or something... > > > > Tony H. > > > I think the concern is sign propagation by LH. > > Bob
