SourcePoint AMD Help

Table of Contents


Display or change the contents of a 32-bit I/O port.


[result =] [[px]] dport(io-addr) [= expr]



specifies an debug variable of type ord4 to which the function return value is assigned. If result is not specified, the return value is displayed on the next line of the screen.


is the viewpoint override, including punctuation ( [ ] ), specifying that the viewpoint is temporarily set to processor x of the boundary scan chain.  The processor can be specified as px (where x is the processor ID), or an alias you have defined for a given processor ID.  ALL cannot be used as a viewpoint override.


specifies a 16-bit address in the processor I/O space. The available io-addr range is 0 to 0ffffh. Parentheses are optional.


specifies a 32-bit number or expression. Using this option writes the data to the specified I/O port.


Use the dport command to read from and write to the specified I/O port with the specified 32-bit data.

Example 1

To assign a 32-bit value to a port and assign one port value to another:

Command input:

dport 88h = 87654321h
dport 90h = dport 88h

Example 2

To create a debug variable named portvar and assign a port value to it:

Command input:

define ord4 portvar
portvar = dport 90 ; portvar