SimAVR
AVR Simulator
|
Macros | |
#define | DUMP_STACK() |
#define | DUMP_REG() ; |
#define | READ_SREG_INTO(avr, dst) |
Reconstructs the SREG value from avr->sreg into dst. More... | |
#define | SET_SREG_FROM(avr, src) |
Splits the SREG value from src into the avr->sreg array. More... | |
Functions | |
avr_flashaddr_t | avr_run_one (avr_t *avr) |
Instruction decoder, run ONE instruction. More... | |
uint16_t | _avr_sp_get (avr_t *avr) |
Stack pointer access. More... | |
void | _avr_sp_set (avr_t *avr, uint16_t sp) |
int | _avr_push_addr (avr_t *avr, avr_flashaddr_t addr) |
static void | avr_sreg_set (avr_t *avr, uint8_t flag, uint8_t ival) |
clear interrupt_state if disabling interrupts. More... | |
#define DUMP_REG | ( | ) | ; |
#define DUMP_STACK | ( | ) |
#define READ_SREG_INTO | ( | avr, | |
dst | |||
) |
Reconstructs the SREG value from avr->sreg into dst.
#define SET_SREG_FROM | ( | avr, | |
src | |||
) |
Splits the SREG value from src into the avr->sreg array.
int _avr_push_addr | ( | avr_t * | avr, |
avr_flashaddr_t | addr | ||
) |
|
inline |
Stack pointer access.
|
inline |
avr_flashaddr_t avr_run_one | ( | avr_t * | avr | ) |
Instruction decoder, run ONE instruction.
|
inlinestatic |
clear interrupt_state if disabling interrupts.
set wait if enabling interrupts. no change if interrupt flag does not change.