Cyclone: gcc 4.4 buildfix
[picodrive.git] / cpu / sh2 / stub_x86.asm
... / ...
CommitLineData
1section .text
2
3global sh2_drc_entry ; SH2 *sh2, void *block
4
5sh2_drc_entry:
6 push ebx
7 push ebp
8 mov ebp, [esp+8+4] ; context
9 mov eax, [esp+8+8]
10 jmp eax
11
12global sh2_drc_exit
13
14sh2_drc_exit:
15 pop ebp
16 pop ebx
17 ret
18