32x: drc: one manual page worth of opcodes implemented (x86 and arm)

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@827 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-10-28 15:40:38 +00:00
parent 80599a42db
commit 3863edbd9d
5 changed files with 441 additions and 69 deletions

View file

@ -3,14 +3,16 @@ section .text
global sh2_drc_entry ; SH2 *sh2, void *block
sh2_drc_entry:
push ebx
push ebp
mov ebp, [esp+4+4] ; context
mov eax, [esp+4+8]
mov ebp, [esp+8+4] ; context
mov eax, [esp+8+8]
jmp eax
global sh2_drc_exit
sh2_drc_exit:
pop ebp
pop ebx
ret