URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 24 |
Rev 33 |
comment "subroutine prologue"
|
comment "subroutine prologue"
|
.macro gdbasm_enter
|
.macro gdbasm_enter
|
save %sp, -192, %sp
|
save %sp, -192, %sp
|
.endm
|
.endm
|
|
|
comment "subroutine epilogue"
|
comment "subroutine epilogue"
|
.macro gdbasm_leave
|
.macro gdbasm_leave
|
return %i7 + 8
|
return %i7 + 8
|
nop
|
nop
|
.endm
|
.endm
|
|
|
.macro gdbasm_call subr
|
.macro gdbasm_call subr
|
call \subr
|
call \subr
|
nop
|
nop
|
.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
|
comment "Don't know how to exit, but this will certainly halt..."
|
comment "Don't know how to exit, but this will certainly halt..."
|
ldx [%g0], %i0
|
ldx [%g0], %i0
|
.endm
|
.endm
|
|
|
comment "crt0 startup"
|
comment "crt0 startup"
|
.macro gdbasm_startup
|
.macro gdbasm_startup
|
clr %fp
|
clr %fp
|
.endm
|
.endm
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.