As you can probably tell from the picture, you can basically type your code in as shoddily as you want and it will still assemble (assuming the arguments are in the right order of course). I've included a notes column in the box on the right so that should also aid in making and reading over code quickly.
The js/html side of things is open sauce, meaning I don't care if someone were to re-upload it somewhere with modifications (so long as sgASM remains in the name) or request that I add their modifications.
Again, not to be taken too seriously, I basically just started this for fun.
- hex numbers must be prefixed with 0x
- comments can be made by typing in anything after a finished line, though I would suggest using //, #, or ; for clarity
- the assembler sees parenthesis and commas as white-space, argument order is the only thing that matters
I'm pretty happy with the code, but it's in its early stages and I plan on making changes to it here and there. Most importantly, I'd like to get the entire r43 instruction set added and make the js code more portable. I also plan on adding a few server side things to my own edition, like saving code and sharing it, and perhaps a chatting functionality just for the hell of it.