Skip to main content

load

Function load 

Source
pub fn load<A: Addressable>(
    mem: &mut A,
    at: Word,
    program: &[Instruction],
) -> Result<(), MemoryError>
Expand description

Writes instructions into memory as consecutive words. at must be word-aligned.