aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMichael Tiemann <tiemann@cygnus>1994-12-06 02:04:58 +0000
committerMichael Tiemann <tiemann@cygnus>1994-12-06 02:04:58 +0000
commit0041db5a973cbdf2daf74fd2f0a850b76c88a4e5 (patch)
treec1ba74903f406b48fb5a5fb067d150049a209320 /gas
parent99eceb9a7304972aa065bdf4214eaeeda2457d3e (diff)
downloadgdb-0041db5a973cbdf2daf74fd2f0a850b76c88a4e5.zip
gdb-0041db5a973cbdf2daf74fd2f0a850b76c88a4e5.tar.gz
gdb-0041db5a973cbdf2daf74fd2f0a850b76c88a4e5.tar.bz2
Switch r3 to scratch register, r0 to stack register.
Other misc changes before beta shipment to customer.
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-rce.c10
-rw-r--r--gas/config/tc-rce.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/gas/config/tc-rce.c b/gas/config/tc-rce.c
index 97a217b..700f9a1 100644
--- a/gas/config/tc-rce.c
+++ b/gas/config/tc-rce.c
@@ -1,6 +1,6 @@
/* tc-rce.c -- Assemble code for the Experimental RCE
- Copyright (C) 1993 Free Software Foundation.
+ Copyright (C) 1993,1994 Free Software Foundation.
This file is part of GAS, the GNU Assembler.
@@ -513,8 +513,8 @@ char *str;
break;
case LR:
op_end = parse_reg(op_end + 1, &reg);
- if( reg==3 || reg==15 )
- as_bad ("invalid register 'r3' and 'r15' illegal");
+ if( reg==0 || reg==15 )
+ as_bad ("invalid register 'r0' 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 == 3)
+ if (endreg == 15 && basereg == 0)
{
if(reg==0 || reg==15)
- as_bad("bad register list, 'r3' and 'r15' invalid as starting registers");
+ as_bad("bad register list, 'r0' and 'r15' invalid as starting registers");
inst |= 0x0080; /* list form */
inst |= reg;
}
diff --git a/gas/config/tc-rce.h b/gas/config/tc-rce.h
index b91ff1f..e2e63b7 100644
--- a/gas/config/tc-rce.h
+++ b/gas/config/tc-rce.h
@@ -1,6 +1,6 @@
/* This file is tc-rce.h
- Copyright (C) 1993 Free Software Foundation, Inc.
+ Copyright (C) 1993-1994 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.