Changeset 3037 for src/LIN/LIN.ma


Ignore:
Timestamp:
Mar 29, 2013, 5:19:53 PM (7 years ago)
Author:
tranquil
Message:
  • ADDRESS joint instruction now has also an offset
  • corrected call to pointer (needed to clear the accumulator)
  • now we make sure globals contain also function names

LINToASM will be fixed in an upcoming commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/LIN/LIN.ma

    r2952 r3037  
    2929unification hint 0 ≔ ⊢ lin_program ≡ joint_program LIN.
    3030
    31 definition LIN_premain : ∀p : lin_program.joint_closed_internal_function LIN (prog_var_names ?? p) ≝
     31definition LIN_premain : ∀p : lin_program.
     32  joint_closed_internal_function LIN (prog_names … p) ≝
    3233λp.
    3334let l3 : label ≝ an_identifier … (p1 one) in
     
    3637   〈None ?, sequential … (CALL LIN ? (inl … (prog_main … p)) 0 it) it〉 ;
    3738   〈Some ? l3, GOTO ? l3〉 ] in
    38 mk_joint_internal_function LIN (prog_var_names … p)
     39mk_joint_internal_function LIN (prog_names … p)
    3940  (mk_universe … (p0 (p0 one)))
    4041  (mk_universe … one)
Note: See TracChangeset for help on using the changeset viewer.