MAX_REG.
	(getprocregp_image): Likewise.
+2010-11-05  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-cr16.c (getprocreg_image): Fix typo MAX_PREG ->
+       MAX_REG.
+       (getprocregp_image): Likewise.
+
 2010-11-05  Tristan Gingold  <gingold@adacore.com>
 
        * po/gas.pot: Regenerate
 
   char *reg_name;
 
   /* Check whether the register is in registers table.  */
-  if (r < MAX_PREG)
+  if (r < MAX_REG)
     rreg = &cr16_pregtab[r - MAX_REG];
   /* Register not found.  */
   else
   int pregptab_disp = 0;
 
   /* Check whether the register is in registers table.  */
-  if (r < MAX_PREG)
+  if (r < MAX_REG)
     {
       r = r - MAX_REG;
       switch (r)