Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Is it just a part of your code, or you are trying to use 'lldt' insturction in RM?
Anyway, you can't use 'lldt' instruction in RM. Also, note that arument, used by this instruction is just a selector, which points to a segment descriptor in GDT. The segment must have type 'LDT'. In any other case you will get exception.