AVR_LOG(avr, LOG_WARNING,
"CORE: *** Wrapping write address "
"PC=%04x SP=%04x O=%04x v=%02x Address %04x %% %04x --> %04x\n",
- avr->pc, _avr_sp_get(avr), _avr_flash_read16le(avr, avr->pc), v, addr, (avr->ramend+1), addr % (avr->ramend+1));
- addr = addr % (avr->ramend+1);
+ avr->pc, _avr_sp_get(avr), _avr_flash_read16le(avr, avr->pc), v, addr, (avr->ramend + 1), addr % (avr->ramend + 1));
+ addr = addr % (avr->ramend + 1);
}
if (addr < 32) {
AVR_LOG(avr, LOG_ERROR, FONT_RED
"CORE: *** Wrapping read address "
"PC=%04x SP=%04x O=%04x Address %04x %% %04x --> %04x\n"
FONT_DEFAULT,
- avr->pc, _avr_sp_get(avr), _avr_flash_read16le(avr, avr->pc), addr, (avr->ramend+1), addr % (avr->ramend+1));
- addr = addr % (avr->ramend+1);
+ avr->pc, _avr_sp_get(avr), _avr_flash_read16le(avr, avr->pc), addr, (avr->ramend + 1), addr % (avr->ramend + 1));
+ addr = addr % (avr->ramend + 1);
}
if (avr->gdb) {
return new_pc;
}
-
-