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

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

Panics

If error is encountered when reading STDIN

Syntax

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