And a disassembler in JavaScript by evilpie: https://gist.github.com/2300590
Edit:
CoffeeScript, too (via steverb): https://github.com/Janiczek/cfs-dcpu16
@sp332: I feexed it
I checked your code, fixed a few things. It now works for: 7c01 0030 7de1 1000 0020 7803 1000 https://github.com/fbulens/dcpu16-js
I'll continue tomorrow (Europe here).
Seems to work, but I have no idea if it's correct, as I don't have much to test it on.
And a disassembler in JavaScript by evilpie: https://gist.github.com/2300590
Edit:
CoffeeScript, too (via steverb): https://github.com/Janiczek/cfs-dcpu16
@sp332: I feexed it