1
! Trampoline for sparc CPU
3
! Copyright 1995 Bruno Haible, <bruno@clisp.org>
5
! This is free software distributed under the GNU General Public Licence
6
! described in the file COPYING. Contact the author if you don't have this
7
! or can't live with it. There is ABSOLUTELY NO WARRANTY, explicit or implied,
10
! Available registers: %g1, %g2, %g3.
15
sethi %hi(0x12345678),%g1
16
sethi %hi(0x73554711),%g2
17
or %g2,%lo(0x73554711),%g2
18
st %g2,[%g1+%lo(0x12345678)]
19
sethi %hi(0xbabebec0),%g1
20
jmp %g1+%lo(0xbabebec0)