Delta Tau GEO BRICK LV Guide D’Exploitation
Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification
354
On-line commands M{constant}, M{constant}->,
.......... M{constant}->{definition}, M{constant}={expression}
Program command M{constant}={expression}
.......... M{constant}->{definition}, M{constant}={expression}
Program command M{constant}={expression}
M{constant}->D:{address}
Function:
Long Fixed-Point M-Variable Definition
Scope:
Global
Syntax:
M{constant}[..{constant}]->D[:]{address}
where:
{constant} is an integer from 0 to 8191 representing the number of the M-variable;
the optional second {constant} must be at least as great as the first {constant} -- it represents
the number of the end of the range;
the number of the end of the range;
{address} is an integer constant from $000000 to $FFFFFF (0 to 16,777,215 if specified in
decimal).
decimal).
This command causes Turbo PMAC to define the specified M-variable or range of M-variables to a 48-bit
double word (both X and Y memory; X more significant) at the specified location in Turbo PMAC’s
address space. The data is interpreted as a fixed-point signed (two's complement) integer.
double word (both X and Y memory; X more significant) at the specified location in Turbo PMAC’s
address space. The data is interpreted as a fixed-point signed (two's complement) integer.
The definition consists of the letter D, an optional colon (:), and the word address.
Memory locations for which this format is useful are labeled with D: in the memory map.
Example:
M161->D:$000088
; Motor 1 desired position register specified in hex
M161->D134
; Motor 1 desired position register specified in decimal
M162->D$8B
; Motor 1 actual position register specified in hex
See Also:
M-Variables (Computational Features)
On-line commands M{constant}, M{constant}->, M{constant}={expression}
Program command M{constant}={expression}
M-Variables (Computational Features)
On-line commands M{constant}, M{constant}->, M{constant}={expression}
Program command M{constant}={expression}
M{constant}->DP:{address}
Function:
Dual-Ported RAM Fixed-Point M-Variable Definition
Scope:
Global
Syntax:
M{constant}[..{constant}]->DP[:]{address}
where:
{constant} is an integer from 0 to 8191 representing the number of the M-variable;
the optional second{constant} must be at least as great as the first {constant} -- it represents
the number of the end of the range;
the number of the end of the range;
{address} is an integer constant from $000000 to $FFFFFF (0 to 16,777,215 if specified in
decimal).
decimal).
This command causes Turbo PMAC to define the specified M-variable or range of M-variables to point to
32 bits of data in the low 16 bits of both X and Y memory at the specified location in Turbo PMAC’s
address space. The data is interpreted as a fixed-point signed (two’s complement) integer.
32 bits of data in the low 16 bits of both X and Y memory at the specified location in Turbo PMAC’s
address space. The data is interpreted as a fixed-point signed (two’s complement) integer.
The definition consists of the letters DP, an optional colon (:), and the word address.
This format is useful only for dual-ported RAM locations $050000 to $05FFFF (Option 2 is required).
With this format, the host can read or write to the corresponding location with a standard 32-bit integer
data format. The data in the X word is the most significant word, which means on the host side the most
significant word is in the higher of two consecutive addresses (standard Intel format).
With this format, the host can read or write to the corresponding location with a standard 32-bit integer
data format. The data in the X word is the most significant word, which means on the host side the most
significant word is in the higher of two consecutive addresses (standard Intel format).