diff options
author | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2004-05-11 17:21:35 +0000 |
---|---|---|
committer | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2004-05-11 17:21:35 +0000 |
commit | 9dc383df09a9cff0c61b1ef24cca31649466258f (patch) | |
tree | c0eccadfcea2cd4ae2b2a69950fc4bff56b681a9 /pod/perlpacktut.pod | |
parent | 4a305f6a9139c383ac61b8e258cf614236af6a28 (diff) | |
download | perl-9dc383df09a9cff0c61b1ef24cca31649466258f.tar.gz |
'v' unpacks unsigned shorts.
p4raw-id: //depot/perl@22811
Diffstat (limited to 'pod/perlpacktut.pod')
-rw-r--r-- | pod/perlpacktut.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlpacktut.pod b/pod/perlpacktut.pod index a88b9456f8..56f986a722 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<v>. A repeat +unpack such a (unsigned) short we'll have to use code C<v>. A repeat count unpacks all 12 shorts: my( $ip, $cs, $flags, $ax, $bx, $cd, $dx, $si, $di, $bp, $ds, $es ) = |