Changeset 1377 for src/LIN


Ignore:
Timestamp:
Oct 14, 2011, 7:22:59 PM (8 years ago)
Author:
sacerdot
Message:

pop_frame now incorporates the fetch_result (that made sense only for RTL).
pop_frame and save_frame are now also more symmetric

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/LIN/semantics.ma

    r1372 r1377  
    2626
    2727definition lin_init_locals : unit → hw_register_env → hw_register_env ≝ λ_.λe.e.
    28 definition lin_pop_frame: list beval → state … lin_sem_params → res (state … lin_sem_params) ≝ λ_.λst. OK … st.
    29 definition lin_save_frame: nat → unit → nat → unit → state … lin_sem_params → res (state … lin_sem_params) ≝ λ_.λ_.λ_.λ_.λst.OK … st.
     28definition lin_pop_frame: state … lin_sem_params → res ((state … lin_sem_params) × address) ≝
     29 fetch_ra ….
     30definition lin_save_frame:
     31 address → nat → unit → nat → unit → state … lin_sem_params → res (state … lin_sem_params) ≝
     32 λl.λ_.λ_.λ_.λ_.λst.save_ra … st l.
    3033
    3134definition lin_more_sem_params1 : more_sem_params1 … lin_params1 ≝
Note: See TracChangeset for help on using the changeset viewer.