32x: drc: one manual page worth of opcodes implemented (x86 and arm)
[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    ebx
7     push    ebp
8     mov     ebp, [esp+8+4]      ; context
9     mov     eax, [esp+8+8]
10     jmp     eax
11
12 global sh2_drc_exit
13
14 sh2_drc_exit:
15     pop     ebp
16     pop     ebx
17     ret
18