OpenCores
URL https://opencores.org/ocsvn/zipcpu/zipcpu/trunk

Subversion Repositories zipcpu

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /zipcpu/trunk
    from Rev 99 to Rev 100
    Reverse comparison

Rev 99 → Rev 100

/sw/zasm/zparser.h
231,23 → 231,23
{ return op_lsr(ZIPC_ALWAYS, imm, a); }
 
ZIPI op_bra(ZIPCOND cnd, ZIPIMM imm) const
{ return op_mov(cnd, imm, ZIP_PC, ZIP_PC); }
{ return op_add(cnd, imm, ZIP_PC); }
ZIPI op_bra(ZIPIMM imm) const
{ return op_add(ZIPC_ALWAYS, imm, ZIP_PC); }
ZIPI op_brz(ZIPIMM imm) const
{ return op_mov(ZIPC_Z, imm, ZIP_PC, ZIP_PC); }
{ return op_add(ZIPC_Z, imm, ZIP_PC); }
ZIPI op_bnz(ZIPIMM imm) const
{ return op_mov(ZIPC_NZ, imm, ZIP_PC, ZIP_PC); }
{ return op_add(ZIPC_NZ, imm, ZIP_PC); }
ZIPI op_bge(ZIPIMM imm) const
{ return op_mov(ZIPC_GE, imm, ZIP_PC, ZIP_PC); }
{ return op_add(ZIPC_GE, imm, ZIP_PC); }
ZIPI op_bgt(ZIPIMM imm) const
{ return op_mov(ZIPC_GT, imm, ZIP_PC, ZIP_PC); }
{ return op_add(ZIPC_GT, imm, ZIP_PC); }
ZIPI op_blt(ZIPIMM imm) const
{ return op_mov(ZIPC_LT, imm, ZIP_PC, ZIP_PC); }
{ return op_add(ZIPC_LT, imm, ZIP_PC); }
ZIPI op_brc(ZIPIMM imm) const
{ return op_mov(ZIPC_C, imm, ZIP_PC, ZIP_PC); }
{ return op_add(ZIPC_C, imm, ZIP_PC); }
ZIPI op_brv(ZIPIMM imm) const
{ return op_mov(ZIPC_V, imm, ZIP_PC, ZIP_PC); }
{ return op_add(ZIPC_V, imm, ZIP_PC); }
ZIPI op_bv(ZIPIMM imm) const
{ return op_brv(imm); }
 
266,9 → 266,9
ZIPI op_wait(void) const {
return op_or(ZIPC_ALWAYS, 0x10, ZIP_CC); }
ZIPI op_busy(ZIPCOND c) const {
return op_mov(c, -1, ZIP_PC, ZIP_PC); }
return op_add(c, -1, ZIP_PC); }
ZIPI op_busy(void) const {
return op_mov(ZIPC_ALWAYS, -1, ZIP_PC, ZIP_PC); }
return op_add(ZIPC_ALWAYS, -1, ZIP_PC); }
 
ZIPI op_rtu(void) const {
return op_or(ZIPC_ALWAYS, 0x20, ZIP_CC); }
278,6 → 278,8
ZIPI op_jmp(ZIPCOND c, ZIPIMM imm, ZIPREG r) const
{ return op_mov(ZIPC_ALWAYS, imm, r, ZIP_PC); }
 
ZIPI op_ljmp(void) const { return 0x7c87c000; }
 
ZIPI op_ljmp(ZIPCOND c, ZIPIMM imm) const {
return op_add(ZIPC_ALWAYS, imm, ZIP_PC); }
 

powered by: WebSVN 2.1.0

© copyright 1999-2022 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.