Small S2 assembly language programs (use in teaching computer organisation 2003) if-then-else.txt show if then else sequence while.txt show a simple loop sequence add1-10.txt add 1 to 10 simple-call.txt show a simple function call sequence cmpsum.txt compare the sum of two arrays fac.txt recursive call on factorial fib2.txt recursive call on fibonacci fib-r1.txt fib using HLL R1 (and compile to S2) loop.txt loop using HLL R1 powerof2.txt calculate 2^n self.txt self reproducing program in S2