URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 24 |
Rev 157 |
comment "subroutine prologue"
|
comment "subroutine prologue"
|
.macro gdbasm_enter
|
.macro gdbasm_enter
|
enter #0
|
enter #0
|
.endm
|
.endm
|
|
|
comment "subroutine epilogue"
|
comment "subroutine epilogue"
|
.macro gdbasm_leave
|
.macro gdbasm_leave
|
exitd
|
exitd
|
.endm
|
.endm
|
|
|
.macro gdbasm_call subr
|
.macro gdbasm_call subr
|
jsr.a \subr
|
jsr.a \subr
|
.endm
|
.endm
|
|
|
.macro gdbasm_several_nops
|
.macro gdbasm_several_nops
|
nop
|
nop
|
nop
|
nop
|
nop
|
nop
|
nop
|
nop
|
.endm
|
.endm
|
|
|
comment "exit (0)"
|
comment "exit (0)"
|
.macro gdbasm_exit0
|
.macro gdbasm_exit0
|
mov.w #0, r1
|
mov.w #0, r1
|
mov.b #1, r0l
|
mov.b #1, r0l
|
ste.b r0l,0xe0000
|
ste.b r0l,0xe0000
|
.endm
|
.endm
|
|
|
comment "crt0 startup"
|
comment "crt0 startup"
|
.macro gdbasm_startup
|
.macro gdbasm_startup
|
ldc #0xfc00, sp
|
ldc #0xfc00, sp
|
.endm
|
.endm
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.