SourcePoint AMD Help

Table of Contents

Data Types

The built-in data types supported by SourcePoint.

Discussion:

Data types are used when defining debug variables and when accessing target memory.

Type

Description

ord1 (byte)

unsigned 8-bit quantity (byte is an alias)

ord2 (word)

unsigned 16-bit quantity (word is an alias)

ord4 (uint, dword, offset)

unsigned 32-bit quantity (uint, dword and offset are aliases)

ord8 (qword)

unsigned 64-bit quantity (qword is an alias)

ord12

unsigned 96-bit quantity (supported but ord16 is used)

ord16

unsigned 128-bit quantity (Not available for memory access)

char

ASCII character

nstring (string)

a string object (similar to CString)

int1

signed 8-bit quantity

int2

signed 16-bit quantity

int4 (int)

signed 32-bit quantity (int is an alias)

int8

signed 64-bit quantity

int16

signed 128-bit quantity (not available for memory access)

real4ย  (float)

signed 32-bit floating point valueย  (float is an alias)

real8 (double)

signed 64-bit floating point value (double is an alias)

real10

supported, but real8 is used

pointer

represents an address in target memory

boolean (bool)

true (non-zero value) or false (zero value)

Array

Array of elements of any valid debug data type with the exception of pointers. (Not available for memory access.)

Example 1

To define a debug variable called o4Val and assign it a value of 5:

Command input:

define ord4 o4Val = 5

o4Val

Result:

5

Example 2

To display 20 bytes of memory at address 1000 as 16 bit quantities:

Command input:

ord2 1000 len 10

Result:

00001000 0080 8D01 42B9 D00A F8B4 03B8 EB04 1000

00001010 F500 712E F3C1 018F F8A0 12A8 E008 F8B4

ย