Merge pull request #1884 from WalterBright/fix_allregs

distinguish ALLREGS from allregs