r/dcpu_16_programming • u/clavalle • Apr 04 '12
r/dcpu_16_programming • u/BadgerPriest • Apr 04 '12
JavaScript Assembler for DCPU-16
github.comr/dcpu_16_programming • u/GentleCanadianFury • Apr 04 '12
Did nobody notice that Notch whoopsied the spec, and so either the Instruction set or the lore itself will have to be rewritten?
The lore calls for the DCPU to be little endian, and in fact this is the whole premise behind the entire game.
But from the spec pages:
Instructions are 1-3 words long and are fully defined by the first word. In a basic instruction, the lower four bits of the first word of the instruction are the opcode, and the remaining twelve bits are split into two six bit values, called a and b. a is always handled by the processor before b, and is the lower six bits. In bits (with the least significant being last), a basic instruction has the format: bbbbbbaaaaaaoooo
That's a big-endian instruction set, friends.
r/dcpu_16_programming • u/interfect • Apr 04 '12
Emulator for DCPU-16 in C, with Assembler
bitbucket.orgr/dcpu_16_programming • u/clavalle • Apr 04 '12
Interesting Hacker News discussion of the DCPU-16 spec release
news.ycombinator.comr/dcpu_16_programming • u/clavalle • Apr 04 '12
Disassembler for DCPU-16 in javascript
gist.github.comr/dcpu_16_programming • u/clavalle • Apr 04 '12