src/dps8/dps8_cpu.c
//void addCUhist (word36 flags, word18 opcode, word24 address, word5 proccmd, word7 flags2)
void addCUhist (word36 flags, word18 opcode, word24 address, word5 proccmd, word7 flags2)
void addCUhist ( word36 flags word18 opcode word24 address word5 proccmd word7 flags2 )
void addCUhist (void)
  {
    if (cpu.skip_cu_hist)
      return;
    if (! cpu.MR_cache.emr)
      return;
    if (! cpu.MR_cache.ihr)
      return;
    if (cpu.MR_cache.hrxfr && ! cpu.wasXfer)
      return;
    word36 flags = 0; 
    word5 proccmd = 0; 
    word7 flags2 = 0; 
    word36 w0 = 0, w1 = 0;
    w0 |= flags & 0777777000000;
    w0 |= IWB_IRODD & MASK18;
    w1 |= (cpu.iefpFinalAddress & MASK24) << 12;
    w1 |= (proccmd & MASK5) << 7;
    w1 |= flags2 & 0176;
    addHist (CU_HIST_REG, w0, w1);
  }
void addCUhist ( void ) { if ( cpu . skip_cu_hist ) return ; if ( ! cpu . MR_cache . emr ) return ; if ( ! cpu . MR_cache . ihr ) return ; if ( cpu . MR_cache . hrxfr && ! cpu . wasXfer ) return ; word36 flags = 0 ; word5 proccmd = 0 ; word7 flags2 = 0 ; word36 w0 = 0 , w1 = 0 ; w0 |= flags & 0777777000000 ; w0 |= IWB_IRODD & MASK18 ; w1 |= ( cpu . iefpFinalAddress & MASK24 ) << 12 ; w1 |= ( proccmd & MASK5 ) << 7 ; w1 |= flags2 & 0176 ; addHist ( CU_HIST_REG , w0 , w1 ) ; }
void addCUhist (word36 flags, word18 opcode, word24 address, word5 proccmd, word7 flags2)
void addCUhist ( word36 flags word18 opcode word24 address word5 proccmd word7 flags2 )
// XXX fill out // XXX fill out // XXX fill out