CARDIAC A CARDIAC emulator in less than 100 lines of C. Ignores command line arguments. Reads shorts from stdin, writes three decimal digits to stdout, separated by newlines. Based on my NARDIAC project.