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/joint_LTL_LIN_semantics.ma

    r3014 r3037  
    3838call_kind → unit → state_pc LTL_LIN_state → res(state LTL_LIN_state) ≝
    3939λk.λ_.λst. match k with
    40 [ PTR ⇒ return (st_no_pc … st)
     40[ PTR ⇒
     41  ! v ← Byte_of_val BadFunction
     42    (hwreg_retrieve (regs … st) RegisterA) ;
     43  if eq_bv … v (bv_zero …) then return (st_no_pc … st)
     44  else Error … [MSG BadFunction; MSG BadPointer]
    4145| ID ⇒ push_ra … st (pc … st)
    4246].
Note: See TracChangeset for help on using the changeset viewer.