anonymous
  • anonymous
http://0x10c.com/ A new spaceship game is under development (by the creator of a popular Java game), and it features a virtual 16-bit processor (called DCPU16) that you can program in and run code for in the game. I think it's a good C exercise for me to write an assembler/disassembler for the DCPU16 machine. Question is, how would I do something like that?
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
chestercat
  • chestercat
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
Finally, what does it take to write a gcc backend/standalone C or C++ compiler/Java Virtual Machine/Python interpreter for the in-game processor? I wonder if it Linux could be ported to that thing! :-D
farmdawgnation
  • farmdawgnation
I'd advice looking into a lexographical parser. When I studied the topic lex and yacc were the two tools of the trade but I believe they've been replaced by something easier. In regard to a gcc backend - a lot of blood, sweat, and tears. haha. I wouldn't attempt it, but if you do let me know how it turns out!

Looking for something else?

Not the answer you are looking for? Search for more explanations.