//! A VM is a program that acts like a computer.
//! It simulates a CPU along with a few other hardware components,
//! allowing it to perform arithmetic, read and write to memory, and interact with I/O devices, just like a physical computer.
//! Most importantly, it can understand a machine language which you can you can use to program it.
//! `LC-3 (Little Computer - 3) VM` simulates a fictional computer called the LC-3.
//! It has a simplified instruction set compared to x86, but contains all the main ideas used in modern CPUs.
//!
//! - Run `lc3_vm` using cargo : cargo run resources/2048.obj
use Memory;
use Args;
/// `handle_args` fn processes commandline arguments.
/// If appropriate file path is found in the args, it reads the file into the memory.