URL
https://opencores.org/ocsvn/zipcpu/zipcpu/trunk
Subversion Repositories zipcpu
Compare Revisions
- This comparison shows the changes necessary to convert path
/zipcpu/trunk/sw
- from Rev 2 to Rev 8
- ↔ Reverse comparison
Rev 2 → Rev 8
/zasm/zopcodes.cpp
127,6 → 127,12
"LDILO",0xff100000, 0x4f000000, REGFIELD(16),OPUNUSED, OPUNUSED, IMMFIELD(16,0), BITFIELD(3,21), |
"LDIHI",0xff100000, 0x4f100000, REGFIELD(16),OPUNUSED, OPUNUSED, IMMFIELD(16,0), BITFIELD(3,21), |
// |
"MPY", 0xf0100000, 0x40000000, REGFIELD(24), REGFIELD(24), OPUNUSED, IMMFIELD(19,0), BITFIELD(3,21), |
"MPY", 0xf0100000, 0x40100000, REGFIELD(24), REGFIELD(24), REGFIELD(16), IMMFIELD(16,0), BITFIELD(3,21), |
// |
"ROL", 0xf0100000, 0x50000000, REGFIELD(24), REGFIELD(24), OPUNUSED, IMMFIELD(5,0), BITFIELD(3,21), |
"ROL", 0xf0100000, 0x50100000, REGFIELD(24), REGFIELD(24), REGFIELD(16), IMMFIELD(5,0), BITFIELD(3,21), |
// |
"LOD", 0xf0100000, 0x60000000, REGFIELD(24), OPUNUSED, OPUNUSED, IMMFIELD(19,0), BITFIELD(3,21), |
"LOD", 0xf0100000, 0x60100000, REGFIELD(24), OPUNUSED, REGFIELD(16), IMMFIELD(16,0), BITFIELD(3,21), |
// |
/zasm/zparser.cpp
457,11 → 457,21
return in; |
} |
|
ZIPI ZPARSER::op_mpy(ZIPCOND cnd, ZIPIMM imm, ZIPREG b, ZIPREG a) const { |
return DBLREGOP(0x4, cnd, imm, b, a); |
} ZIPI ZPARSER::op_mpy(ZIPCOND cnd, ZIPIMM imm, ZIPREG a) const { |
return IMMOP(0x4, cnd, imm, a); |
} |
|
ZIPI ZPARSER::op_rol(ZIPCOND cnd, ZIPIMM imm, ZIPREG b, ZIPREG a) const { |
return DBLREGOP(0x5, cnd, imm, b, a); |
} ZIPI ZPARSER::op_rol(ZIPCOND cnd, ZIPIMM imm, ZIPREG a) const { |
return IMMOP(0x5, cnd, imm, a); |
} |
|
ZIPI ZPARSER::op_lod(ZIPCOND cnd, ZIPIMM imm, ZIPREG b, ZIPREG a) const { |
return DBLREGOP(0x6, cnd, imm, b, a); |
} |
|
ZIPI ZPARSER::op_lod(ZIPCOND cnd, ZIPIMM imm, ZIPREG a) const { |
} ZIPI ZPARSER::op_lod(ZIPCOND cnd, ZIPIMM imm, ZIPREG a) const { |
return IMMOP(0x6, cnd, imm, a); |
} |
|
/zasm/zparser.h
97,6 → 97,20
ZIPI op_ldilo(ZIPIMM imm, ZIPREG a) const |
{ return op_ldilo(ZIPC_ALWAYS, imm, a); } |
|
ZIPI op_mpy(ZIPCOND cnd, ZIPIMM imm, ZIPREG b, ZIPREG a) const; |
ZIPI op_mpy(ZIPCOND cnd, ZIPIMM imm, ZIPREG a) const; |
ZIPI op_mpy(ZIPIMM imm, ZIPREG b, ZIPREG a) const |
{ return op_mpy(ZIPC_ALWAYS, imm, b, a); } |
ZIPI op_mpy(ZIPIMM imm, ZIPREG a) const |
{ return op_mpy(ZIPC_ALWAYS, imm, a); } |
|
ZIPI op_rol(ZIPCOND cnd, ZIPIMM imm, ZIPREG b, ZIPREG a) const; |
ZIPI op_rol(ZIPCOND cnd, ZIPIMM imm, ZIPREG a) const; |
ZIPI op_rol(ZIPIMM imm, ZIPREG b, ZIPREG a) const |
{ return op_rol(ZIPC_ALWAYS, imm, b, a); } |
ZIPI op_rol(ZIPIMM imm, ZIPREG a) const |
{ return op_rol(ZIPC_ALWAYS, imm, a); } |
|
ZIPI op_lod(ZIPCOND cnd, ZIPIMM imm, ZIPREG b, ZIPREG a) const; |
ZIPI op_lod(ZIPCOND cnd, ZIPIMM imm, ZIPREG a) const; |
ZIPI op_lod(ZIPIMM imm, ZIPREG b, ZIPREG a) const |