the code in learning s3c2440