summaryrefslogtreecommitdiff
path: root/regs.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-04-16 01:18:30 +0000
committerH. Peter Anvin <hpa@zytor.com>2007-04-16 01:18:30 +0000
commit0ee014231f5d6047258bbe3cab70c69bff5623b0 (patch)
treeac5d79baa16659db8aeaa93dab2bdc212a2ad70b /regs.pl
parent99f309cc07b6cf7406711eed43f4b9d140a93bc2 (diff)
downloadnasm-0ee014231f5d6047258bbe3cab70c69bff5623b0.tar.gz
nasm-0ee014231f5d6047258bbe3cab70c69bff5623b0.tar.bz2
nasm-0ee014231f5d6047258bbe3cab70c69bff5623b0.zip
Initial 64-bit support for ndisasm. Still a work in progress.
64-bit support for ndisasm. This is very much an initial attempt, and there are guaranteed to be bugs in the code. However, some *very* preliminary testing seems to indicate it's not completely off-base.
Diffstat (limited to 'regs.pl')
-rwxr-xr-xregs.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/regs.pl b/regs.pl
index e96029a..c412c66 100755
--- a/regs.pl
+++ b/regs.pl
@@ -118,7 +118,7 @@ if ( $fmt eq 'h' ) {
# Output regdis.c
print "/* automatically generated from $file - do not edit */\n";
foreach $class ( sort(keys(%disclass)) ) {
- printf "static const int %-8s[] = {", $class;
+ printf "static const int rd_%-8s[] = {", $class;
@foo = @{$disclass{$class}};
@bar = ();
for ( $i = 0 ; $i < scalar(@foo) ; $i++ ) {