32x: interpreter-wrap drc works (demos only). SVP drc refactoring.
[picodrive.git] / cpu / sh2 / stub_x86.asm
1 section .text
2
3 global sh2_drc_entry ; SH2 *sh2, void *block
4
5 sh2_drc_entry:
6     push    ebp
7     mov     ebp, [esp+4+4]      ; context
8     mov     eax, [esp+4+8]
9     jmp     eax
10
11 global sh2_drc_exit
12
13 sh2_drc_exit:
14     pop     ebp
15     ret
16