5 lines
160 B
Rust
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);
|
|
} |