Loads of work on #R

Functions, calls, inline assembly, everything but locals...those are a
bit of work :)