FRISC processor simulator in JavaScript