Difference between revisions of "MC-Basic:OUTW"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "''<address>''" to "<''address''>")
m (Text replace - "<value>" to "<''value''>")
Line 4: Line 4:
  
 
|SYNTAX=
 
|SYNTAX=
Outw ''(<address>, <value>)''
+
Outw ''(<address>, <''value''>)''
  
 
|AVAILABILITY=
 
|AVAILABILITY=

Revision as of 11:25, 19 March 2014

This command writes a word (16 bits) to the specified I/O space address.

Syntax

Outw (<address>, <value>)

Availability

All versions

Type

<address>: Long
<value>: Long

Range

<address>: 0x100 to 0xFFFF
<value>: 0 to 65535

Scope

Task or Terminal

Limitations

Write-Only

Examples

Outw (256, 512)                             ‘write the value 512 to I/O address 256

See Also