iPXE
__attribute__ Union Reference

A 16-bit general register. More...

#include <registers.h>

Public Member Functions

struct { 
   union { 
      uint8_t   l 
      uint8_t   byte 
   }   __attribute__
   uint8_t   h 
__attribute__ ((packed))
struct { 
   union { 
      uint8_t   l 
      uint8_t   byte 
   }   __attribute__
   uint8_t   h 
__attribute__ ((packed))

Data Fields

uint16_t word
uint32_t dword

Detailed Description

A 16-bit general register.

A 32-bit general register.

This type encapsulates a 16-bit register such as ax, bx, cx, dx, si, di, bp or sp.

This type encapsulates a 32-bit register such as eax, ebx, ecx, edx, esi, edi, ebp or esp.

Definition at line 24 of file registers.h.

Constructor & Destructor Documentation

◆ __attribute__() [1/2]

struct __attribute__::@300250050327143020371274144060247364332071167333 __attribute__::__attribute__ ( (packed) )

◆ __attribute__() [2/2]

struct __attribute__::@367036347147066362205261135171236240047151377276 __attribute__::__attribute__ ( (packed) )

Field Documentation

◆ l

uint8_t __attribute__::l

Definition at line 27 of file registers.h.

◆ byte

uint8_t __attribute__::byte

Definition at line 28 of file registers.h.

◆ [union] [1/2]

union { ... } __attribute__::__attribute__

◆ h

uint8_t __attribute__::h

Definition at line 30 of file registers.h.

◆ word

uint16_t __attribute__::word

Definition at line 32 of file registers.h.

◆ [union] [2/2]

union { ... } __attribute__::__attribute__

◆ dword

uint32_t __attribute__::dword

Definition at line 51 of file registers.h.


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