llvm-dcpu16/llvm-dcpu16 — pull request #144 by arbaal (2012-04-25 16:20:47+00:00)
Title: Update to new specs

I update to the new specs. Each change in one commit, for easier revert. I haven't touched the code from @Blei regarding the IF-conditions.

Partly fixes #143, #120, #107

The stackpointer usage is buggy right now. You can see it when you add two LONG INT and watch how he uses the stack. Right now, it grows too large and irregular with gaps.

Fixes:

* stack pointer to RSP
* renamed overflow register RO to REX
* added DVI instruction
* fxed arithemtic right shift instruction
* Added carry add and carry sub