From 9dc383df09a9cff0c61b1ef24cca31649466258f Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Tue, 11 May 2004 17:21:35 +0000 Subject: [PATCH] 'v' unpacks unsigned shorts. p4raw-id: //depot/perl@22811 --- pod/perlpacktut.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) = -- 1.8.3.1