From cc78e19aa9e6b7c8ec0e1e5ac26685e57406c69d Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Mon, 11 Nov 2013 17:30:46 +0100 Subject: Added ROM support, coded a 24/60/60 watch with output for 7-bit LCD display --- tests/romtest.mj | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/romtest.mj (limited to 'tests/romtest.mj') diff --git a/tests/romtest.mj b/tests/romtest.mj new file mode 100644 index 0000000..6d2daf2 --- /dev/null +++ b/tests/romtest.mj @@ -0,0 +1,9 @@ +dec7(i:[4]) = (o:[7]) where + decode7 = rom<4,7>(i); + o = decode7 +end where + +main(i1:[4],i2:[4]) = (o1:[7],o2:[7]) where + o1 = dec7(i1); + o2 = dec7(i2) +end where -- cgit v1.2.3