[][src]Function lc3_vm::handle_args

pub fn handle_args(args: Args) -> Result<Memory, &'static str>

handle_args fn processes commandline arguments. If appropriate file path is found in the args, it reads the file into the memory.