diff options
author | Michael Tiemann <tiemann@cygnus> | 1994-11-27 20:04:22 +0000 |
---|---|---|
committer | Michael Tiemann <tiemann@cygnus> | 1994-11-27 20:04:22 +0000 |
commit | d5adb5d8a451ada513da9c1c29641b1d5aaffd12 (patch) | |
tree | e628d2596fc41105dc484c83b7b4130f60e5cccd /gas/config/tc-rce.c | |
parent | edf728958e27d5b0da70309c5d6b9e99bc9ae440 (diff) | |
download | gdb-d5adb5d8a451ada513da9c1c29641b1d5aaffd12.zip gdb-d5adb5d8a451ada513da9c1c29641b1d5aaffd12.tar.gz gdb-d5adb5d8a451ada513da9c1c29641b1d5aaffd12.tar.bz2 |
Changes to reflect that r3, not r0, is now the stack pointer.
Diffstat (limited to 'gas/config/tc-rce.c')
-rw-r--r-- | gas/config/tc-rce.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/config/tc-rce.c b/gas/config/tc-rce.c index ff27d070..97a217b 100644 --- a/gas/config/tc-rce.c +++ b/gas/config/tc-rce.c @@ -513,8 +513,8 @@ char *str; break; case LR: op_end = parse_reg(op_end + 1, ®); - if( reg==0 || reg==15 ) - as_bad ("invalid register 'r0' and 'r15' illegal"); + if( reg==3 || reg==15 ) + as_bad ("invalid register 'r3' and 'r15' illegal"); inst |= (reg<<8); if (*op_end++ == ',') { @@ -573,10 +573,10 @@ char *str; { op_end = parse_reg(op_end + 1, &basereg); if (*op_end == ')') op_end++; - if (endreg == 15 && basereg == 0) + if (endreg == 15 && basereg == 3) { if(reg==0 || reg==15) - as_bad("bad register list, r0 and r15 invalid as starting registers"); + as_bad("bad register list, 'r3' and 'r15' invalid as starting registers"); inst |= 0x0080; /* list form */ inst |= reg; } |