Muokkaa

Jaa


__addgsbyte, __addgsword, __addgsdword, __addgsqword

Microsoft Specific

Add a value to a memory location specified by an offset relative to the beginning of the GS segment.

Syntax

void __addgsbyte(
   unsigned long Offset,
   unsigned char Data
);
void __addgsword(
   unsigned long Offset,
   unsigned short Data
);
void __addgsdword(
   unsigned long Offset,
   unsigned long Data
);
void __addgsqword(
   unsigned long Offset,
   unsigned __int64 Data
);

Parameters

Offset
[in] The offset from the beginning of GS.

Data
[in] The value to add to the memory location.

Requirements

Intrinsic Architecture
__addgsbyte x64
__addgsword x64
__addgsdword x64
__addgsqword x64

Header file <intrin.h>

Remarks

These routines are only available as an intrinsic.

END Microsoft Specific

See also

__incgsbyte, __incgsword, __incgsdword, __incgsqword
__readgsbyte, __readgsdword, __readgsqword, __readgsword
__writegsbyte, __writegsdword, __writegsqword, __writegsword
Compiler intrinsics