root_dir_start should have been declared as word instead of byte