diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-05-20 10:48:22 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-05-20 10:48:22 -0700 |
commit | 0fc86cca1fec0365f529a15fb1268f0e5c324744 (patch) | |
tree | f12fc3f9c48d93be50557b2fa63afa43612dfc0d | |
parent | 8491986e699e7d14c9160f26444f002b042fcfd8 (diff) | |
download | nasm-0fc86cca1fec0365f529a15fb1268f0e5c324744.tar.gz nasm-0fc86cca1fec0365f529a15fb1268f0e5c324744.tar.bz2 nasm-0fc86cca1fec0365f529a15fb1268f0e5c324744.zip |
insns.pl: fix regex subgroup of /is4= codes
The argument is now $1, not $2...
-rw-r--r-- | insns.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -681,7 +681,7 @@ sub byte_code_compile($) { push(@codes, 0172, ($oppos{'s'} << 3)+$oppos{'i'}); $prefix_ok = 0; } elsif ($op =~ /^\/is4\=([0-9]+)$/) { - my $imm = $2; + my $imm = $1; if (!defined($oppos{'s'})) { die "$0: $line: $op without 's' operand\n"; } |