Ignore:
Timestamp:
Jan 13, 2011, 2:19:14 PM (9 years ago)
Author:
mulligan
Message:

Got Test.native to compile. Added functions for exporting intel hex format records to a file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Deliverables/D4.1/Test.ml

    r429 r444  
    22open ASMInterpret;;
    33open Util;;
     4open IntelHex;;
    45open Pretty;;
    56
     
    78let mem = IntelHex.process_intel_hex hex in
    89let status = ASMInterpret.load_mem mem ASMInterpret.initialize in
     10let _ = file_of_intel_hex "hex-output-test.hex" (pack_exported_code_memory 64 65536 status.code_memory) in
    911let observe status =
    1012 let pc = status.ASMInterpret.pc in
Note: See TracChangeset for help on using the changeset viewer.