summaryrefslogtreecommitdiff
path: root/tests/cm2.mj
blob: 8863bf19c55774aa50c2df4c2e2590b369fc5f7d (plain) (blame)
1
2
3
4
main(x) = (s, r) where
  s = reg (x xor s);
  r = x and s
end where