MemoryImportExportInterface.java 641 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package tools.mips;
  7. /**
  8. *
  9. * @author EUGENIO CARVALHO
  10. */
  11. public interface MemoryImportExportInterface {
  12. /**
  13. * Lê o arquivo e preenche a memoria
  14. *
  15. * @param memory
  16. * @throws Exception
  17. */
  18. public void FromFile(Memory memory) throws Exception;
  19. /**
  20. * Salva em arquivo o conteudo da memoria
  21. *
  22. * @param memory
  23. * @throws Exception
  24. */
  25. public String DumpFile(Memory memory) throws Exception;
  26. }