What is the problem? I am reading a book I just wanted to test it in the computer and it built with error. There is nothing to do with the datasheet.
What you're doing is like trying to learn a language without knowing the grammar rules and the letters. You can't just copy phrases from a book.
The assembly language has particularities and the assembly language manual tells you what some assembly language specific keywords mean, how the compiler converts what you type into microcontroller code and all that.
Had you read the assembly language manual, you would have learned what those error messages ": Symbol not previously defined" are telling you that the assembler has no idea what those keywords mean because you forgot to tell the assembler where you defined those keywords.
Each of those keywords have some values associated with them, and those values can differ from microcontroller to another so each mcu has it's own file with those definitions, usually a .inc file.
If your programming IDE or assembler software doesn't have such a file, you can MAKE one using the definitions in your microcontroller's DATASHEET, they're all there, explained.
The same datasheet tells you what all those instructions do IN DETAIL, so if you'd bother to read the datasheet, you'd know why an instruction isn't executed, is skipped, whatever... how can i put it more plainly than this?
The code you keep trying to run is probably relying on snippets of code from previous chapters or examples. and the book assumes you have some basic assembly knowledge and that by the time you're doing this example, you know to have a base program and just add that code to your base program, what you pasted is not a full 100% program.
later edit: and the "-Is this the timer0 interupt?" is a stupid question ... timer0 isn't an interrupt... it's a stupid timer, your mcu may have one or more timers and it's up to you how to enable them and configure to optionally do an interrupt when time expires. The DATASHEET has a whole chapter about timers WITH examples, read the f**king datasheets and understand the code, don't just paste from books.