Difference between revisions of "MC-Basic:OUTB"
m (1 revision) |
m |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:OUTB}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 4: | Line 5: | ||
|SYNTAX= | |SYNTAX= | ||
− | Outb ('' | + | Outb (<''address''>, <''value''>) |
|AVAILABILITY= | |AVAILABILITY= | ||
Line 13: | Line 14: | ||
|TYPE= | |TYPE= | ||
− | '' | + | <''address''>: Long<br> |
− | '' | + | <''value''>: Long |
|RANGE= | |RANGE= | ||
− | '' | + | <''address''>: 0x100 to 0xFFFF<br> |
− | '' | + | <''value''>: 0 to 255 |
|UNITS= | |UNITS= | ||
Line 30: | Line 31: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | Write | + | Write only |
|EXAMPLE= | |EXAMPLE= | ||
Line 36: | Line 37: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:OUTW|OUTW]] |
}} | }} |
Latest revision as of 06:07, 25 April 2017
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