The first command form enters data at the console and sends it to a port.
[count] o[h|w] port-address,expression
Parameters
count
- The number of bytes, 16-bit halfwords, or 32-bit words in decimal you want SDM to send to the port. The default count is one.
h
- Sends data to the port in halfword form.
w
- Sends data to the port in word form.
port-address
- The address of the port to which you want to send data. Valid port addresses range from 0000 to 0FFFFH. Do not use a base portion of the address in this parameter.
expression
- The value to send to the port.
Examples
- This command outputs the value of AX + 1B9 as a word to port number 4:
..ow 4, ax + 1b9
- This command sends the value 1 as a byte value to port number 2CDE one hundred times:
<..100 o 2cde, 1
See Also
Debugging tools, System Debug Monitor (SDM)