__based
Grammar
Microsoft Specific
Based addressing is useful when you need precise control over the segment in which objects are allocated (static and dynamic based data).
The only form of based addressing acceptable in 32-bit and 64-bit compilations is "based on a pointer" that defines a type that contains a 32-bit or 64-bit displacement to a 32-bit or 64-bit base or based on void
.
Grammar
based-range-modifier
:
__based(
base-expression
)
base-expression
:
based-variable
based-abstract-declarator
segment-name
segment-cast
based-variable
:
identifier
based-abstract-declarator
:
abstract-declarator
base-type
:
type-name
END Microsoft Specific
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for