mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-23 01:29:34 +00:00
save and restore %d2 in MMU040_read_phys (detected with GCC 3.4)
This commit is contained in:
parent
0c63c2cb52
commit
c874bd5250
@ -95,6 +95,7 @@ MMU040_ptest:
|
||||
.global MMU040_read_phys
|
||||
MMU040_read_phys:
|
||||
link.w %fp,#-8
|
||||
move.l %d2,%sp@-
|
||||
|
||||
/* get the address to read */
|
||||
|
||||
@ -135,5 +136,6 @@ MMU040_read_phys:
|
||||
move %d1, %sr
|
||||
move.l (%sp)+, %d1
|
||||
|
||||
move.l %sp@+, %d2
|
||||
unlk %fp
|
||||
rts
|
||||
|
Loading…
Reference in New Issue
Block a user