mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 07:38:05 -04:00
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:
parent
80599a42db
commit
3863edbd9d
5 changed files with 441 additions and 69 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue