Difference between revisions of "MC-Basic:OUTB"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "''<address>, <value>''" to "<''address''>, <''value''>")
m (Text replace - "''<address>''" to "<''address''>")
Line 13: Line 13:
  
 
|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 255
 
<''value''>: 0 to 255
  

Revision as of 14:59, 17 March 2014

This command writes a byte to the specified I/O space address.

Syntax

Outb (<address>, <value>)

Availability

All versions

Type

<address>: Long
<value>: Long

Range

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

Scope

Task or Terminal

Limitations

Write-Only

Examples

Outb (256, 255)                              ‘write the value 255 to I/O address 256

See Also