From: oharboe at B. <oh...@ma...> - 2009-05-05 07:55:27
|
Author: oharboe Date: 2009-05-05 07:55:14 +0200 (Tue, 05 May 2009) New Revision: 1603 Modified: trunk/src/target/mips32.h Log: Oleksandr Tymoshenko <go...@bl...> "resume" command fix for EJTAG Modified: trunk/src/target/mips32.h =================================================================== --- trunk/src/target/mips32.h 2009-05-04 18:44:12 UTC (rev 1602) +++ trunk/src/target/mips32.h 2009-05-05 05:55:14 UTC (rev 1603) @@ -112,8 +112,8 @@ #define MIPS32_LW(reg, off, base) MIPS32_I_INST(MIPS32_OP_LW, base, reg, off) #define MIPS32_MFLO(reg) MIPS32_R_INST(0, 0, 0, reg, 0, MIPS32_OP_MFLO) #define MIPS32_MFHI(reg) MIPS32_R_INST(0, 0, 0, reg, 0, MIPS32_OP_MFHI) -#define MIPS32_MTLO(reg) MIPS32_R_INST(0, 0, 0, reg, 0, MIPS32_OP_MTLO) -#define MIPS32_MTHI(reg) MIPS32_R_INST(0, 0, 0, reg, 0, MIPS32_OP_MTHI) +#define MIPS32_MTLO(reg) MIPS32_R_INST(0, reg, 0, 0, 0, MIPS32_OP_MTLO) +#define MIPS32_MTHI(reg) MIPS32_R_INST(0, reg, 0, 0, 0, MIPS32_OP_MTHI) #define MIPS32_ORI(src, tar, val) MIPS32_I_INST(MIPS32_OP_ORI, src, tar, val) #define MIPS32_SB(reg, off, base) MIPS32_I_INST(MIPS32_OP_SB, base, reg, off) #define MIPS32_SH(reg, off, base) MIPS32_I_INST(MIPS32_OP_SH, base, reg, off) |