SimAVR
AVR Simulator
sim_core.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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...