notaz.gp2x.de
/
cyclone68000.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1988176
)
fix movem PC saving for MEMHANDLERS_NEED_PC case
author
notaz
<notasas@gmail.com>
Wed, 8 Oct 2014 23:00:02 +0000
(
02:00
+0300)
committer
notaz
<notasas@gmail.com>
Wed, 8 Oct 2014 23:00:02 +0000
(
02:00
+0300)
OpMove.cpp
patch
|
blob
|
blame
|
history
diff --git
a/OpMove.cpp
b/OpMove.cpp
index
44842ee
..
338dab1
100644
(file)
--- a/
OpMove.cpp
+++ b/
OpMove.cpp
@@
-405,10
+405,8
@@
int OpMovem(int op)
ot(";@ Get the address into r6:\n");
\r
EaCalc(6,0x003f,cea,size);
\r
\r
-#if !MEMHANDLERS_NEED_PREV_PC
\r
// must save PC, need a spare register
\r
- ot(" str r4,[r7,#0x40] ;@ Save PC\n");
\r
-#endif
\r
+ FlushPC();
\r
\r
ot(";@ r4=Register Index*4:\n");
\r
if (decr) ot(" mov r4,#0x40 ;@ order reversed for -(An)\n");
\r