///////////////////////////////////////////////////
//
//	FILE:       WatchDog_Demo_Readme.txt
//	AUTHOR:     Neo (Hsin-Chih Lin)
//	COPYRIGHT:  (c) Megawin Technology Co., Ltd.
//	CREATED:    2008.9.30
//	PURPOSE:    Demo Watch Dog function
//	Description:
//              When power on will turn on LED1(P12)
//              When watch dog count overflow(about 6 seconds) will reset and turn on LED2(P13)
//              If always set CLRW = 1, then watch dog always recount,
//              Therefore watch will not reset.
//
///////////////////////////////////////////////////

PS:If you use Keil C51 to complier assembly code you need to do this

Menu bar -> Flash -> Configure Flash Tools
Change to A51 option and you can see "Special Function Registers"
then disable "Define 8051 SFR Names"
