static public void loadToMemory(VMController vmc, File file){
        try {
            Scanner fileScan = new Scanner(new BufferedReader(
                    new FileReader(file)));
            fileScan.useDelimiter(System.getProperty("line.separator"));
            String command;
            int adress = 0;
            while (fileScan.hasNext()){
                command = fileScan.next();
                if (command.equalsIgnoreCase("CODE") || command.equalsIgnoreCase("DATA")|| command.isEmpty()){
                    continue;
                }
                else if (command.startsWith("#")){
                    adress = Integer.parseInt(command.substring(1, 5), 16);
                    continue;
                }
                else if (command.length() != 4){
                    command = String.format("%-4s", command).replace(' ', '0');
                }
                Memory.setMemory(vmc, adress, command);
                adress++;
            }
        } 
        catch (FileNotFoundException ex) {
            System.err.println(ex);
        }
    }