mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-09-22 10:43:39 -04:00
Fix bugs in repeated suffix handling, which led to missing r8d/r8w/r8d
This commit is contained in:
2
regs.pl
2
regs.pl
@@ -26,7 +26,7 @@ sub process_line($) {
|
|||||||
|
|
||||||
if ($reg =~ /^(.*[^0-9])([0-9]+)\-([0-9]+)(|[^0-9].*)$/) {
|
if ($reg =~ /^(.*[^0-9])([0-9]+)\-([0-9]+)(|[^0-9].*)$/) {
|
||||||
$nregs = $3-$2+1;
|
$nregs = $3-$2+1;
|
||||||
$reg = $1.$2;
|
$reg = $1.$2.$4;
|
||||||
$reg_nr = $2;
|
$reg_nr = $2;
|
||||||
$reg_prefix = $1;
|
$reg_prefix = $1;
|
||||||
$reg_suffix = $4;
|
$reg_suffix = $4;
|
||||||
|
Reference in New Issue
Block a user