Ignore:
Timestamp:
Sep 30, 2010, 2:52:02 PM (10 years ago)
Author:
mulligan
Message:

Bug in LCALL fixed.

File:
1 edited

Legend:

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

    r142 r145  
    1 let hex = IntelHex.intel_hex_of_file Sys.argv.(1) in
     1let hex = IntelHex.intel_hex_of_file "Test.hex" in
    22let mem = IntelHex.process_intel_hex hex in
    33let status = ASMInterpret.load_mem mem ASMInterpret.initialize in
     
    55 let pc = status.ASMInterpret.pc in
    66 let instr,_,_ = ASMInterpret.fetch status.ASMInterpret.code_memory pc in
    7   prerr_string (BitVectors.hex_string_of_vect pc) ;
    8   prerr_endline (": " ^ Pretty.pp_instruction instr)
     7   prerr_string (BitVectors.hex_string_of_vect pc) ;
     8   prerr_endline (": " ^ Pretty.pp_instruction instr)
    99in
    1010 ASMInterpret.execute observe status
Note: See TracChangeset for help on using the changeset viewer.