rem: avr_set_bits(m->op[AVR_OP_READ_LO], cmds);
add: avr_set_bits(rop, cmds);
context: static int stk500v2_paged_load(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m,                             int page_size, int n_bytes){  int addr, block_size;  unsigned char commandbuf[4];  unsigned char buf[275];	// max buffer size for stk500v2 at this point  unsigned char cmds[4];  int result;  DEBUG("STK500V2: stk500v2_paged_load(..,%s,%d,%d)\n",m->desc,page_size,n_bytes);  page_size = m->readsize;  // determine which command is to be used  if (strcmp(m->desc, "flash") == 0) {    commandbuf[0] = CMD_READ_FLASH_ISP;  } else if (strcmp(m->desc, "eeprom") == 0) {    commandbuf[0] = CMD_READ_EEPROM_ISP;  }  // the read command is common to both methods  if (m->op[AVR_OP_READ_LO] == NULL) {    fprintf(stderr, "%s: stk500v2_paged_load: read instruction not defined for part \"%s\"\n",            progname, p->desc);    return -1;  }  avr_set_bits(m->op[AVR_OP_READ_LO], cmds);  commandbuf[3] = cmds[0];  stk500v2_loadaddr(pgm, 0);  for (addr=0; addr < n_bytes; addr += page_size) {    report_progress(addr, n_bytes,NULL);    if ((n_bytes-addr) < page_size)      block_size = n_bytes - addr;    else      block_size = page_size;    DEBUG("block_size at addr %d is %d\n",addr,block_size);    memcpy(buf,commandbuf,sizeof(commandbuf));    buf[1] = block_size >> 8;    buf[2] = block_size & 0xff;    result = stk500v2_command(pgm,buf,4,sizeof(buf));    if (buf[1] != STATUS_CMD_OK) {      fprintf(stderr,"%s: stk500v2_paged_load: read command failed with %d\n",              progname,buf[1]);      return -1;    }#if 0    for (i=0;i<page_size;i++) {      fprintf(stderr,"%02X",buf[2+i]);      if (i%16 == 15) fprintf(stderr,"\n");    }#endif    memcpy(&m->buf[addr], &buf[2], block_size);  }  return n_bytes;}