Difference between revisions of "MC-Basic:OUTW"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "''<value>''" to "<''value''>")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:OUTW}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 4: Line 5:
  
 
|SYNTAX=
 
|SYNTAX=
Outw ''(<address>, <value>)''
+
Outw ''(<address>, <''value''>)''
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 13: Line 14:
  
 
|TYPE=
 
|TYPE=
''<address>'': Long<br>
+
<''address''>: Long<br>
 
<''value''>: Long
 
<''value''>: Long
  
 
|RANGE=
 
|RANGE=
''<address>'': 0x100 to 0xFFFF<br>
+
<''address''>: 0x100 to 0xFFFF<br>
 
<''value''>: 0 to 65535
 
<''value''>: 0 to 65535
  
Line 30: Line 31:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Write-Only
+
Write only
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 36: Line 37:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:OUTB|OUTB]]
+
* [[MC-Basic:OUTB|OUTB]]
  
  
 
}}
 
}}

Latest revision as of 06:32, 25 April 2017

Language: English  • 中文(简体)‎

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