SourcePoint Intel Help

Table of Contents

sizeof

Returns the size of a program variable.

Syntax

[result =] sizeof(variable)

Where:

result

specifies a debug object of type ord4 to which the function return value is assigned. If name is not specified, the return value is displayed on the next line of the screen.

variable

specifies a program variable name.

Discussion

The sizeof function returns the size of a program variable. ย This can be useful for defining breakpoint ranges for composite variables.

Example

Command input:

sizeof(myStructure)

Result:

00000120H

Related Topics:

ย