* config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands.
authorJeff Law <law@redhat.com>
Sun, 19 Sep 1999 17:09:23 +0000 (17:09 +0000)
committerJeff Law <law@redhat.com>
Sun, 19 Sep 1999 17:09:23 +0000 (17:09 +0000)
gas/ChangeLog
gas/config/tc-hppa.c

index f1aa1fd..3c157d5 100644 (file)
@@ -1,5 +1,7 @@
 Sun Sep 19 10:43:31 1999  Jeffrey A Law  (law@cygnus.com)
 
+       * config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands.
+
        * config/tc-hppa.c (pa_ip): Handle 'l' operand.
 
        * config/tc-hppa.c (pa_ip): Handle 'g' operand.
index d0e1dec..a2e3129 100644 (file)
@@ -2698,6 +2698,24 @@ pa_ip (str)
                break;
              continue;
 
+           /* Handle ,push completer for new syntax branches.  */
+           case 'M':
+             if (*s == ',' && strcasecmp (s + 1, "push") == 0)
+               s += 5;
+             else
+               break;
+             continue;
+
+           /* Handle ,%r2 completer for new syntax branches.  */
+           case 'L':
+             if (*s == ',' && strcasecmp (s + 1, "%r2") == 0)
+               s += 4;
+             else if (*s == ',' && strcasecmp (s + 1, "%rp") == 0)
+               s += 4;
+             else
+               break;
+             continue;
+
            /* Handle a 11 bit immediate at 31.  */
            case 'i':
              the_insn.field_selector = pa_chk_field_selector (&s);