From: Marcus Holland-Moritz Date: Tue, 11 May 2004 17:21:35 +0000 (+0000) Subject: 'v' unpacks unsigned shorts. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9dc383df09a9cff0c61b1ef24cca31649466258f;p=p5sagit%2Fp5-mst-13.2.git 'v' unpacks unsigned shorts. p4raw-id: //depot/perl@22811 --- diff --git a/pod/perlpacktut.pod b/pod/perlpacktut.pod index a88b945..56f986a 100644 --- a/pod/perlpacktut.pod +++ b/pod/perlpacktut.pod @@ -400,7 +400,7 @@ containing a stack frame as it happens on an Intel 8086: First, we note that this time-honored 16-bit CPU uses little-endian order, and that's why the low order byte is stored at the lower address. To -unpack such a (signed) short we'll have to use code C. A repeat +unpack such a (unsigned) short we'll have to use code C. A repeat count unpacks all 12 shorts: my( $ip, $cs, $flags, $ax, $bx, $cd, $dx, $si, $di, $bp, $ds, $es ) =