Finally finished error.c

Still need to get Register info.