Ignore:
Timestamp:
Dec 1, 2011, 2:50:27 PM (9 years ago)
Author:
tranquil
Message:

implemented constant propagation in LTL
cleaned up translations in optimizations, a new module for translations is available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Deliverables/D2.2/8051/src/LIN/LINToASM.ml

    r1568 r1580  
    7676  | LIN.St_ind_0 i -> [`Index i ; `NOP (* TODO: hack! *)]
    7777  | LIN.St_ind_inc i -> [`Inc i ; `NOP (* TODO: hack! *)]
     78  | LIN.St_int (r, 0) when I8051.eq_reg r I8051.a ->
     79    [`CLR `A]
    7880  | LIN.St_int (r, i) ->
    7981    [`MOV (`U3 (I8051.reg_addr r, data_of_int i))]
Note: See TracChangeset for help on using the changeset viewer.