Hardcoded a lot of the ARM code that was previously hardcoded in order to reduce the chance of mistakes. Also made fixes to the ARM instruction pipeline which was broken before this commit.