aboutsummaryrefslogtreecommitdiff
path: root/challenge-119/james-smith
diff options
context:
space:
mode:
authordrbaggy <js5@sanger.ac.uk>2021-07-02 07:33:44 +0100
committerdrbaggy <js5@sanger.ac.uk>2021-07-02 07:33:44 +0100
commit8cb056b8a695da10af049bb84da23b8b7cf51fb5 (patch)
tree1ce389ea4fea3e3deb018e2f5ef3d0c5704fa521 /challenge-119/james-smith
parentc246d7ad664c6bb5ecb564e8f6e03a14eb3940ee (diff)
downloadperlweeklychallenge-club-8cb056b8a695da10af049bb84da23b8b7cf51fb5.tar.gz
perlweeklychallenge-club-8cb056b8a695da10af049bb84da23b8b7cf51fb5.tar.bz2
perlweeklychallenge-club-8cb056b8a695da10af049bb84da23b8b7cf51fb5.zip
added cesil solution
Diffstat (limited to 'challenge-119/james-smith')
-rw-r--r--challenge-119/james-smith/cesil/ch-1.ces24
1 files changed, 24 insertions, 0 deletions
diff --git a/challenge-119/james-smith/cesil/ch-1.ces b/challenge-119/james-smith/cesil/ch-1.ces
new file mode 100644
index 0000000000..e9a74c23cc
--- /dev/null
+++ b/challenge-119/james-smith/cesil/ch-1.ces
@@ -0,0 +1,24 @@
+ LINE
+Next IN
+ JINEG End
+ OUT
+ PRINT " => "
+ STORE a
+ DIVIDE 16
+ STORE b
+ MULTIPLY -16
+ ADD a
+ MULTIPLY 16
+ ADD b
+ OUT
+ LINE
+ JUMP Next
+End LINE
+ HALT
+ %
+ 240
+ 15
+ 0
+ 255
+ 99
+ -1