Switch r3 to scratch register, r0 to stack register.
Other misc changes before beta shipment to customer.
This commit is contained in:
parent
99eceb9a73
commit
0041db5a97
4 changed files with 7 additions and 10 deletions
|
@ -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, ®);
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -19,9 +19,7 @@ SECTIONS
|
|||
*(.data)
|
||||
${CONSTRUCTING+CONSTRUCTORS}
|
||||
${RELOCATING+_edata = .;}
|
||||
}
|
||||
.bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} :
|
||||
{
|
||||
|
||||
${RELOCATING+ __bss_start = .};
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
|
|
|
@ -28,7 +28,6 @@ rce_opcode_info rce_table[]={
|
|||
*****/
|
||||
{ "tstne", O1, 0x0080 },
|
||||
{ "tstgt", O1, 0x0090 },
|
||||
{ "tstlt", O1, 0x00A0 },
|
||||
{ "tstnbz", O1, 0x00B0 },
|
||||
{ "inct", O1, 0x00C0 },
|
||||
{ "incf", O1, 0x00D0 },
|
||||
|
|
Loading…
Add table
Reference in a new issue