ARM assembler interpreter in JavaScript