Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
I wonder which compiler ur using. Assuming it is the C18 or some other C compiler all U need to do is jus write
TMRO=0x00; writes 00 in hex to TMRO SFR
similarly U can do with all other SFRS provided that U have already included the ehader file having the details of all other SfRs in ur PROJECT worksapace.
Good LUCk MATE