Ignore:
Timestamp:
Sep 10, 2010, 11:51:15 AM (9 years ago)
Author:
mulligan
Message:

CLR instructions implemented.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Deliverables/D4.1/ASMInterpret.ml

    r53 r54  
    796796    (acc * [ reg | direct | indirect ],
    797797     direct * [ acc | data ]) union2
    798  | CLR of [ acc | carry | bit ]
     798*)
     799 | CLR `A ->
     800     set_arg8 status ((false,false,false,false),(false,false,false,false)) `A
     801 | CLR `C ->
     802     set_arg1 status false `C
     803 | CLR ((`BIT b) as a) ->
     804     set_arg1 status false a
     805(*
    799806 | CPL of [ acc | carry | bit ]
    800807*)
Note: See TracChangeset for help on using the changeset viewer.