#include "types.h"
#include "decoder.h"
#include "avrdevice.h"
#include "hwsreg.h"
#include "helper.h"
#include "flash.h"
#include "rwmem.h"
#include "ioregs.h"
#include "avrerror.h"
Go to the source code of this file.
Defines | |
#define | MONSREG traceOut << (string)(*(core->status)) |
#define | INDEX_FROM_BITMASK(mask) |
Calculate index from mask so that (1<<index)==mask. Crash on incorrect values. | |
Functions | |
int | abort_in_expression () |
Variables | |
const char * | opcodes_bclr [8] |
const char * | branch_opcodes_clear [8] |
const char * | branch_opcodes_set [8] |
const char * | opcodes_bset [8] |
#define INDEX_FROM_BITMASK | ( | mask | ) |
( (mask) == 0x01 ? 0 \ : (mask) == 0x02 ? 1 \ : (mask) == 0x04 ? 2 \ : (mask) == 0x08 ? 3 \ : (mask) == 0x10 ? 4 \ : (mask) == 0x20 ? 5 \ : (mask) == 0x40 ? 6 \ : (mask) == 0x80 ? 7 \ : abort_in_expression() )
Calculate index from mask so that (1<<index)==mask. Crash on incorrect values.
Definition at line 42 of file decoder_trace.cpp.
Referenced by avr_op_BRBS::Trace(), and avr_op_BRBC::Trace().
#define MONSREG traceOut << (string)(*(core->status)) |
Definition at line 37 of file decoder_trace.cpp.
Referenced by avr_op_SUBI::Trace(), avr_op_SUB::Trace(), avr_op_SBIW::Trace(), avr_op_SBCI::Trace(), avr_op_SBC::Trace(), avr_op_ROR::Trace(), avr_op_ORI::Trace(), avr_op_OR::Trace(), avr_op_NEG::Trace(), avr_op_MULSU::Trace(), avr_op_MULS::Trace(), avr_op_MUL::Trace(), avr_op_LSR::Trace(), avr_op_INC::Trace(), avr_op_FMULSU::Trace(), avr_op_FMULS::Trace(), avr_op_FMUL::Trace(), avr_op_EOR::Trace(), avr_op_DEC::Trace(), avr_op_CPI::Trace(), avr_op_CPC::Trace(), avr_op_CP::Trace(), avr_op_COM::Trace(), avr_op_BST::Trace(), avr_op_BSET::Trace(), avr_op_BCLR::Trace(), avr_op_ASR::Trace(), avr_op_ANDI::Trace(), avr_op_AND::Trace(), avr_op_ADIW::Trace(), avr_op_ADD::Trace(), and avr_op_ADC::Trace().
int abort_in_expression | ( | ) |
Definition at line 53 of file decoder_trace.cpp.
const char* branch_opcodes_clear[8] |
{ "BRCC", "BRNE", "BRPL", "BRVC", "BRGE", "BRHC", "BRTC", "BRID" }
Definition at line 125 of file decoder_trace.cpp.
Referenced by avr_op_BRBC::Trace().
const char* branch_opcodes_set[8] |
{ "BRCS", "BREQ", "BRMO", "BRVS", "BRLT", "BRHS", "BRTS", "BRIE" }
Definition at line 152 of file decoder_trace.cpp.
Referenced by avr_op_BRBS::Trace().
const char* opcodes_bclr[8] |
{ "CLC", "CLZ", "CLN", "CLV", "CLS", "CLH", "CLT", "CLI" }
Definition at line 101 of file decoder_trace.cpp.
Referenced by avr_op_BCLR::Trace().
const char* opcodes_bset[8] |
{ "SEC", "SEZ", "SEN", "SEV", "SES", "SEH", "SET", "SEI" }
Definition at line 179 of file decoder_trace.cpp.
Referenced by avr_op_BSET::Trace().