Major improvements to text parsing

* Added tokenising of assembly instructions
* Added register tokenising
* Removal of old code

Due to speed improvements throughout, the additional code has not slowed
down the parsing since the last commit.