Index for Lin Jensen's directory
Examples of mips and C for "System Programming Languages"
- New for 2016:
- hex2.c Binary number to hexadecimal characters
- hex2.a Binary number to hexadecimal characters
(see also hex1.a and hex.a)
- interesting.c
First example of a C program (about interesting numbers)
- New for 2015:
- New for 2014:
- New for 2013:
- mergsort.c Use your merge
function to recursively sort an array
- bubble.c Bubble sort, with function
inorder. You may use the command line to enter test data
- writever.asm Recursive
function, Feb 26 2013 -- see also previous incarnations
below
- count4bit.asm Function calls
another, use of the stack Feb 21-26 2013
- preval.a, preval.c
-- prefix expression evaluation, March 1, 2012
- Intel examples, March 22, 2012
- getword.asm Function to get word
from a string. March 2011
- notnice.a - First try at a function
to sum nice numbers
- nicer.a - works, but loop missing
- nice.a - works.March 8, 2011
- writever.a Recursive write
vertical, March 9, 2009
- turnaround.a Using stack to turn
around a string (and the value of pi) Feb 20, 2009
- iso2utf.c ISO-8859-1 to UTF-8
conversion, in class example Feb 16, 2009
- example.c Random in class example
Jan 30, 2009
- bitwise.c -- using the C bitwise
logical operators to change case
- string-copy.c
- command-line-args.c
- addition.a Lab 1 example program
- circle.a
- cond.c
- count.a
- countwds.a Counting words
- countwds.c
- dec.a
- disassemble.a
- fib.a
- fibloop.a
- getToken in Intel assembly, for polish
arithmetic expressions
- hanoi1.asm
- hanoi2.asm
- hanoi.a
- hello.a
- hello.s
- hellom.s Calling Kernel vs. printf()
- hex1.a
- hex.a
- index.html
- length.a
- minmax.a
- polish.a
- README
- reverse.a
- sparc1.c
- sparc1.s
- sqrt.a
- strcmp.asm
- stree.s
- temp.a
- test-stree.c
- tree.a
- url.c -- The simple class version
- vowel.a
- WRITEVER.ASM