Implemented more functions, added initial address mode handling.