public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f4bdcc
)
bug fix: some variables were not initialized all the time
author
ceriel
<none@none>
Thu, 23 Feb 1989 10:40:12 +0000
(10:40 +0000)
committer
ceriel
<none@none>
Thu, 23 Feb 1989 10:40:12 +0000
(10:40 +0000)
mach/m68020/as/mach4.c
patch
|
blob
|
history
diff --git
a/mach/m68020/as/mach4.c
b/mach/m68020/as/mach4.c
index
0479d90
..
87a6850
100644
(file)
--- a/
mach/m68020/as/mach4.c
+++ b/
mach/m68020/as/mach4.c
@@
-125,10
+125,14
@@
instruction
{ move($2);}
| MOVEP sizedef ea_ea
{ movep($2);}
- | MOVEM sizedef regs ',' notimmreg
+ | MOVEM sizedef regs ','
+ { mrg_2 = 0; ffew_2 = 0400; /* initialization */}
+ notimmreg
{ movem(0, $2, $3);}
- | MOVEM sizedef notimmreg ',' regs
- { movem(1, $2, $5);}
+ | MOVEM sizedef
+ { mrg_2 = 0; ffew_2 = 0400; /* initialization */}
+ notimmreg ',' regs
+ { movem(1, $2, $6);}
| MOVES sizedef ea_ea
{ if (mrg_1 <= 017) {
T_EMIT2(007000 | $2 | mrg_2,0,0,0);