User:Egor.Chelak305

=DCPU-16 Book Sandbox= DCPU-16 - is a virtual 16-bit CPU from 0x10c game.

This book will teach you how to make programs on DCPU-16's assembly.

What you will need
For first, you'll need Assembler and Emulator.

Assembler will translate assembly to machine code.

Emulator will run machine code for other CPU, on your.

Disassembler will translate machine code back to assembly. (You'll don't need that.)

IDE have all those things packed in one program.

DCPU-16 Studio is great IDE (for beginners...), but it's outdated.

0x10c DevKit is better than Studio. It's have plugin support, better GUI, more functions...

Benedek's DCPU-16 Emulator is good Emulator and Assembler. Only recommended if you use linux.

Hello! ...World?
That is how looks like classic "Hello, World!" program:

Registers a.k.a. Variables
DCPU-16 got 8 registers (same as variables in programing language) A, B, C, X, Y, Z, I and J.

Using SET operator, you can set value to it (0-65535; 0x0000-0xFFFF)

Example:

You can set Registers to values in memory, and vice versa.

&lt;Note: still working at this section&gt;