        let regnum: u8 = 14;
        let max_regval: u16 = 0xFF;
        let num_adds = (rest_of_addr / max_regval) as u8;
        // Remainder value for the last ADD
        let remainder = (rest_of_addr % max_regval) as u8;