MC-Basic:OUTB

From SoftMC-Wiki
Jump to: navigation, search
Language: English  • 中文(简体)‎

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