Avr8bit-emulator
An emulator for the Atmel AVR 8-bit microcontroller
Loading...
Searching...
No Matches
GP Union Reference

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 
 
};  
 

Detailed Description

General Purpose Registers.

Definition at line 28 of file core.h.

Field Documentation

◆ [struct]

struct { ... } GP

◆ R

◆ R0

uint8_t GP::R0

General purpose register 0

Definition at line 31 of file core.h.

Referenced by lpm_0().

◆ R1

uint8_t GP::R1

General purpose register 1

Definition at line 32 of file core.h.

◆ R10

uint8_t GP::R10

General purpose register 10

Definition at line 41 of file core.h.

◆ R11

uint8_t GP::R11

General purpose register 11

Definition at line 42 of file core.h.

◆ R12

uint8_t GP::R12

General purpose register 12

Definition at line 43 of file core.h.

◆ R13

uint8_t GP::R13

General purpose register 13

Definition at line 44 of file core.h.

◆ R14

uint8_t GP::R14

General purpose register 14

Definition at line 45 of file core.h.

◆ R15

uint8_t GP::R15

General purpose register 15

Definition at line 46 of file core.h.

◆ R16

uint8_t GP::R16

General purpose register 16

Definition at line 47 of file core.h.

◆ R17

uint8_t GP::R17

General purpose register 17

Definition at line 48 of file core.h.

◆ R18

uint8_t GP::R18

General purpose register 18

Definition at line 49 of file core.h.

◆ R19

uint8_t GP::R19

General purpose register 19

Definition at line 50 of file core.h.

◆ R2

uint8_t GP::R2

General purpose register 2

Definition at line 33 of file core.h.

◆ R20

uint8_t GP::R20

General purpose register 20

Definition at line 51 of file core.h.

◆ R21

uint8_t GP::R21

General purpose register 21

Definition at line 52 of file core.h.

◆ R22

uint8_t GP::R22

General purpose register 22

Definition at line 53 of file core.h.

◆ R23

uint8_t GP::R23

General purpose register 23

Definition at line 54 of file core.h.

◆ R24

uint8_t GP::R24

General purpose register 24

Definition at line 55 of file core.h.

◆ R25

uint8_t GP::R25

General purpose register 25

Definition at line 56 of file core.h.

◆ R3

uint8_t GP::R3

General purpose register 3

Definition at line 34 of file core.h.

◆ R4

uint8_t GP::R4

General purpose register 4

Definition at line 35 of file core.h.

◆ R5

uint8_t GP::R5

General purpose register 5

Definition at line 36 of file core.h.

◆ R6

uint8_t GP::R6

General purpose register 6

Definition at line 37 of file core.h.

◆ R7

uint8_t GP::R7

General purpose register 7

Definition at line 38 of file core.h.

◆ R8

uint8_t GP::R8

General purpose register 8

Definition at line 39 of file core.h.

◆ R9

uint8_t GP::R9

General purpose register 9

Definition at line 40 of file core.h.

◆ X

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

◆ Y

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

◆ Z

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


The documentation for this union was generated from the following file: