-
The follow code:
```
int main(void)
{
return 1337;
}
```
Compiles to:
```
:autoinit ;;Init data stack register C
SET I, SP
SUB I, 256
:autostart
JSR main
:autohalt SET PC, auto…
-
Hi there,
LLVM backend has to emit the instructions like:
``` dasm16
:autoinit ;;Init data stack register C
SET I, SP
SUB I, 256
:autostart
JSR main
:autohalt SET PC, autohalt
…
-
Hi there,
[LLVM backend](http://github.com/krasin/llvm-dcpu16) has to emit the instructions like:
``` dasm16
:autoinit ;;Init data stack register C
SET I, SP
SUB I, 256
:autostart
…
-
Hi there,
LLVM backend has to emit the instructions like:
``` dasm16
:autoinit ;;Init data stack register C
SET I, SP
SUB I, 256
:autostart
JSR main
:autohalt SET PC, autohalt
…