summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-03-21 20:20:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-03-21 20:20:27 +0000
commit487a7ca5f75a8503752616fb1617fc504f0e95d4 (patch)
treec4e566f469a6c36d1081b6187ab48daecfae60f3 /c
parentupdated (diff)
downloadrtems-487a7ca5f75a8503752616fb1617fc504f0e95d4.tar.bz2
some instructions altered for older binutils
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/start/start360.s16
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/start360/start360.s16
2 files changed, 16 insertions, 16 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68360/start/start360.s b/c/src/lib/libbsp/m68k/gen68360/start/start360.s
index c446784d97..b546e72406 100644
--- a/c/src/lib/libbsp/m68k/gen68360/start/start360.s
+++ b/c/src/lib/libbsp/m68k/gen68360/start/start360.s
@@ -295,7 +295,7 @@ Entry:
*/
uhoh: nop | Leave spot for breakpoint
stop #0x2700 | Stop with interrupts disabled
- bra.b uhoh | Stuck forever
+ bra.s uhoh | Stuck forever
/*
* Place the low-order 3 octets of the board's
@@ -317,17 +317,17 @@ start:
* Step 3: Write the VBR
*/
lea Entry,a0 | Get base of vector table
- movec a0,VBR | Set up the VBR
+ movec a0,vbr | Set up the VBR
/*
* Step 4: Write the MBAR
*/
- movec DFC,d1 | Save destination register
+ movec dfc,d1 | Save destination register
moveq #7,d0 | CPU-space funcction code
- movec d0,DFC | Set destination function code register
+ movec d0,dfc | Set destination function code register
movel #SYM(m360)+0x101,d0 | MBAR value (mask CPU space accesses)
movesl d0,0x3FF00 | Set MBAR
- movec d1,DFC | Restore destination register
+ movec d1,dfc | Restore destination register
/*
* Step 5: Verify a dual-port RAM location
@@ -359,12 +359,12 @@ SYM(_ClearBSSAndStart):
movel #clear_start,a0
movel #clear_end,a1
clrl d0
- brab ZEROLOOPTEST
+ bras ZEROLOOPTEST
ZEROLOOP:
movel d0,a0@+
ZEROLOOPTEST:
cmpl a1,a0
- bcsb ZEROLOOP
+ bcs ZEROLOOP
movel #stack_init,a7 | set master stack pointer
movel d0,a7@- | environp
movel d0,a7@- | argv
@@ -374,7 +374,7 @@ ZEROLOOPTEST:
| Should this just force a reset?
mainDone: nop | Leave spot for breakpoint
stop #0x2700 | Stop with interrupts disabled
- bra.b mainDone | Stuck forever
+ bra.s mainDone | Stuck forever
.align 2
PUBLIC (_HeapSize)
diff --git a/c/src/lib/libbsp/m68k/gen68360/start360/start360.s b/c/src/lib/libbsp/m68k/gen68360/start360/start360.s
index c446784d97..b546e72406 100644
--- a/c/src/lib/libbsp/m68k/gen68360/start360/start360.s
+++ b/c/src/lib/libbsp/m68k/gen68360/start360/start360.s
@@ -295,7 +295,7 @@ Entry:
*/
uhoh: nop | Leave spot for breakpoint
stop #0x2700 | Stop with interrupts disabled
- bra.b uhoh | Stuck forever
+ bra.s uhoh | Stuck forever
/*
* Place the low-order 3 octets of the board's
@@ -317,17 +317,17 @@ start:
* Step 3: Write the VBR
*/
lea Entry,a0 | Get base of vector table
- movec a0,VBR | Set up the VBR
+ movec a0,vbr | Set up the VBR
/*
* Step 4: Write the MBAR
*/
- movec DFC,d1 | Save destination register
+ movec dfc,d1 | Save destination register
moveq #7,d0 | CPU-space funcction code
- movec d0,DFC | Set destination function code register
+ movec d0,dfc | Set destination function code register
movel #SYM(m360)+0x101,d0 | MBAR value (mask CPU space accesses)
movesl d0,0x3FF00 | Set MBAR
- movec d1,DFC | Restore destination register
+ movec d1,dfc | Restore destination register
/*
* Step 5: Verify a dual-port RAM location
@@ -359,12 +359,12 @@ SYM(_ClearBSSAndStart):
movel #clear_start,a0
movel #clear_end,a1
clrl d0
- brab ZEROLOOPTEST
+ bras ZEROLOOPTEST
ZEROLOOP:
movel d0,a0@+
ZEROLOOPTEST:
cmpl a1,a0
- bcsb ZEROLOOP
+ bcs ZEROLOOP
movel #stack_init,a7 | set master stack pointer
movel d0,a7@- | environp
movel d0,a7@- | argv
@@ -374,7 +374,7 @@ ZEROLOOPTEST:
| Should this just force a reset?
mainDone: nop | Leave spot for breakpoint
stop #0x2700 | Stop with interrupts disabled
- bra.b mainDone | Stuck forever
+ bra.s mainDone | Stuck forever
.align 2
PUBLIC (_HeapSize)