+2000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk>
+
+ * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before
+ normal operands.
+
2000-03-15 Kazu Hirata <kazu@hxi.com>
* config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.
if (src[0] == 'r')
{
+ if (src[1] >= '0' && src[1] <= '7' && strncmp (&src[2], "_bank", 5) == 0
+ && ! isalnum ((unsigned char) src[7]))
+ {
+ *mode = A_REG_B;
+ *reg = (src[1] - '0');
+ return 7;
+ }
if (src[1] == '1')
{
if (src[2] >= '0' && src[2] <= '5'
*reg = (src[1] - '0');
return 2;
}
- if (src[1] >= '0' && src[1] <= '7' && strncmp(&src[2], "_bank", 5) == 0
- && ! isalnum ((unsigned char) src[7]))
- {
- *mode = A_REG_B;
- *reg = (src[1] - '0');
- return 7;
- }
if (src[1] == 'e' && ! isalnum ((unsigned char) src[2]))
{