cas instruction was encoded wrong
This commit is contained in:
parent
ef1532bae6
commit
88c6fe59f9
@ -195,7 +195,7 @@ instruction
|
||||
{ T_EMIT2(03300 | $2, 0, 0, 0);}
|
||||
| CAS sizedef DREG ',' DREG ',' ea
|
||||
{ T_EMIT2(04300 | (($2+0100)<<3) | mrg_2,0,0,0);
|
||||
T_EMIT2($5 | ($3<<6),0,0,0);
|
||||
T_EMIT2($3 | ($5<<6),0,0,0);
|
||||
ea_2($2, MEM|ALT);
|
||||
}
|
||||
| CAS2 sizedef DREG ':' DREG ',' DREG ':' DREG ','
|
||||
|
||||
@ -25,7 +25,7 @@ emit_instr()
|
||||
{
|
||||
register instr_t *ip;
|
||||
|
||||
for (ip=instr; ip<instrp; emit2(ip++->i_word)) {
|
||||
for (ip=instr; ip<instrp; emit2((ip++)->i_word)) {
|
||||
#ifdef RELOCATION
|
||||
RELOMOVE(relonami, ip->i_relonami);
|
||||
if (ip->i_reloinfo)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user