User Tools

Site Tools


ugbasic:user:kw:out
Translations of this page:


ugBASIC User Manual

OUT

SYNTAX

   OUT port, value

PURPOSE

This command allows you to send a byte to an I/O port, provided that the underlying hardware allows it. If it wasn't allowed, the statement will do nothing.

EXAMPLE

  OUT &HBC00, 0

ABBREVIATION

 Ou

AVAILABLE ON

  • Commodore 128 (Zilog Z80)
  • ColecoVision
  • Amstrad CPC 664
  • MSX
  • SEGA SC-3000
  • SEGA SG-1000
  • VG-5000
  • ZX Spectrum 48

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY