source: Deliverables/D2.2/8051/src/ASM/

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

Hex output not too long for mcu anymore. Readable output added.

File size: 277 bytes
2(** This module provides a function to print [ASM] programs. *)
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 65535 code_memory in
7  IntelHex.string_of_intel_hex_format intel_hex
Note: See TracBrowser for help on using the repository browser.