2024-02-05 09:05:48 +02:00

5 lines
160 B
Rust

use crate::errors::RunError;
pub fn putc(memory: &mut Vec<u16>) {
print!("{}", memory.pop().expect(&format!("{}", RunError::MemoryEmpty)) as u8 as char);
}