Added LDDW instruction. Fixed some bugs and errors.