Avr8bit-emulator
An emulator for the Atmel AVR 8-bit microcontroller
|
General Purpose Registers. More...
#include <core.h>
Data Fields | ||
uint8_t | R [32] | |
struct { | ||
uint8_t R0 | ||
uint8_t R1 | ||
uint8_t R2 | ||
uint8_t R3 | ||
uint8_t R4 | ||
uint8_t R5 | ||
uint8_t R6 | ||
uint8_t R7 | ||
uint8_t R8 | ||
uint8_t R9 | ||
uint8_t R10 | ||
uint8_t R11 | ||
uint8_t R12 | ||
uint8_t R13 | ||
uint8_t R14 | ||
uint8_t R15 | ||
uint8_t R16 | ||
uint8_t R17 | ||
uint8_t R18 | ||
uint8_t R19 | ||
uint8_t R20 | ||
uint8_t R21 | ||
uint8_t R22 | ||
uint8_t R23 | ||
uint8_t R24 | ||
uint8_t R25 | ||
uint16_t X | ||
uint16_t Y | ||
uint16_t Z | ||
}; | ||
struct { ... } GP |
uint8_t GP::R[32] |
General purpose registers as an array
Definition at line 29 of file core.h.
Referenced by adc(), add(), adiw(), and(), andi(), asr(), bld(), bst(), cbi(), cbr(), clr(), com(), cp(), cpc(), cpi(), cpse(), dec(), eor(), fmul(), fmuls(), fmulsu(), ijmp(), in(), inc(), lac(), las(), lat(), ld_x(), ld_x_dec(), ld_x_inc(), ld_y(), ld_y_dec(), ld_y_inc(), ld_z(), ld_z_dec(), ld_z_inc(), ldd_y(), ldd_z(), ldi(), lds(), lpm_z(), lpm_z_inc(), lsl(), lsr(), mov(), movw(), mul(), muls(), mulsu(), neg(), or(), ori(), out(), pop(), push(), rol(), ror(), sbc(), sbci(), sbi(), sbiw(), sbr(), sbrc(), sbrs(), ser(), st_x(), st_x_dec(), st_x_inc(), st_y(), st_y_dec(), st_y_inc(), st_z(), st_z_dec(), st_z_inc(), std_y(), std_z(), sts(), sub(), subi(), swap(), tst(), and xch().
uint8_t GP::R0 |
uint16_t GP::X |
Register pair X (R26:R27)
Definition at line 57 of file core.h.
Referenced by ld_x(), ld_x_dec(), ld_x_inc(), st_x(), st_x_dec(), and st_x_inc().
uint16_t GP::Y |
Register pair Y (R28:R29)
Definition at line 58 of file core.h.
Referenced by ld_y(), ld_y_dec(), ld_y_inc(), ldd_y(), st_y(), st_y_dec(), st_y_inc(), and std_y().
uint16_t GP::Z |
Register pair Z (R30:R31)
Definition at line 59 of file core.h.
Referenced by icall(), lac(), las(), lat(), ld_z(), ld_z_dec(), ld_z_inc(), ldd_z(), lpm_0(), lpm_z(), lpm_z_inc(), st_z(), st_z_dec(), st_z_inc(), std_z(), and xch().