32x: drc: one manual page worth of opcodes implemented (x86 and arm)
[picodrive.git] / cpu / sh2 / stub_x86.asm
CommitLineData
679af8a3 1section .text
2
3global sh2_drc_entry ; SH2 *sh2, void *block
4
5sh2_drc_entry:
3863edbd 6 push ebx
679af8a3 7 push ebp
3863edbd 8 mov ebp, [esp+8+4] ; context
9 mov eax, [esp+8+8]
679af8a3 10 jmp eax
11
12global sh2_drc_exit
13
14sh2_drc_exit:
15 pop ebp
3863edbd 16 pop ebx
679af8a3 17 ret
18