Ignore:
Timestamp:
Nov 4, 2011, 12:22:17 PM (8 years ago)
Author:
ayache
Message:

Function pointers in D2.2/8051. Bugged for now.

File:
1 edited

Legend:

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

    r1462 r1488  
    5454    Printf.sprintf "movex @DPTR, %s" print_a
    5555  | LIN.St_call_id f -> Printf.sprintf "call \"%s\"" f
    56   | LIN.St_call_ptr (f1, f2) ->
    57     Printf.sprintf "call_ptr [%s ; %s]" (print_reg f1) (print_reg f2)
     56  | LIN.St_call_ptr ->
     57    Printf.sprintf "call_ptr DPTR"
    5858  | LIN.St_condacc lbl_true ->
    5959    Printf.sprintf "branch %s <> 0, %s" print_a lbl_true
Note: See TracChangeset for help on using the changeset viewer.