Unified · Split
| @@ -1,3 +1,5 @@ | ||
| 1 | +20070720 | |
| 2 | + utils/5l/asm.c: ensure SBZ field in MOV is regarded as MBZ (ie, force to zero) | |
| 1 | 3 | 20070714 |
| 2 | 4 | add Sys->readn, update sys-read(2) |
| 3 | 5 | copy two repairs from emu/port/inferno.c to os/port/inferno.c |
| @@ -760,7 +760,9 @@ if(debug['G']) print("%ulx: %s: arm %d %d %d %d\n", (ulong)(p->pc), p->from.sym- · 759 unmodified lines | ||
| 760 | 760 | r = p->reg; |
| 761 | 761 | if(p->to.type == D_NONE) |
| 762 | 762 | rt = 0; |
| 763 | − if(r == NREG) | |
| 763 | + if(p->as == AMOVW) | |
| 764 | + r = 0; | |
| 765 | + else if(r == NREG) | |
| 764 | 766 | r = rt; |
| 765 | 767 | o1 |= (r<<16) | (rt<<12); |
| 766 | 768 | break; |