Function cambridge_asm::exec::io::inp

source ·
pub fn inp(ctx: &mut Context, op: &Op) -> RtResult
Expand description

Input

Read a single character from input, convert to ASCII code and store

Panics

If error is encountered when reading input

Syntax

  1. INP - read to ACC
  2. INP [reg | addr]