source: Deliverables/D2.2/8051/src/ASM/ASMPrinter.ml @ 619

Last change on this file since 619 was 619, checked in by ayache, 9 years ago

Update of D2.2 from Paris.

File size: 277 bytes
Line 
1
2(** This module provides a function to print [ASM] programs. *)
3
4let print_program p =
5  let code_memory = ASMInterpret.load_code_memory p.ASM.code in
6  let intel_hex = IntelHex.pack_exported_code_memory 16 65536 code_memory in
7  IntelHex.string_of_intel_hex_format intel_hex
Note: See TracBrowser for help on using the repository browser.