summaryrefslogtreecommitdiff
path: root/insns.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-05-12 15:28:33 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-05-12 15:28:33 -0700
commit0a4d23219ec3237e5ca54e9ff06a44cfdcd9581a (patch)
tree9285952aa4d5b44c77618f095654f4304b5701c2 /insns.pl
parentff3b57c253f1ccfd4276fe4f4720d11e50b3c0d9 (diff)
downloadnasm-0a4d23219ec3237e5ca54e9ff06a44cfdcd9581a.tar.gz
nasm-0a4d23219ec3237e5ca54e9ff06a44cfdcd9581a.tar.bz2
nasm-0a4d23219ec3237e5ca54e9ff06a44cfdcd9581a.zip
insnsb.c: use 5 digits for index, not 4
We already have indexes up to 9500, so use 5 digits instead of 4.
Diffstat (limited to 'insns.pl')
-rw-r--r--insns.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/insns.pl b/insns.pl
index 064a3f4..0110121 100644
--- a/insns.pl
+++ b/insns.pl
@@ -113,7 +113,7 @@ if ( !defined($output) || $output eq 'b') {
$p = 0;
foreach $bl (@bytecode_array) {
- printf B " /* %4d */ ", $p;
+ printf B " /* %5d */ ", $p;
foreach $d (@$bl) {
printf B "%#o,", $d;
$p++;