2006-04-03 06:25 AM
2006-03-26 11:17 PM
In the data sheet of ST7: to reset the OCFi flag, two step are required:
1. Reading the SR register while the OCFi bit is set. 2. An access(read or write) to the OCiLR register. What is the definition of ''access'' to the OCiLR register? If the code as follows: LD A, #$20 ADD A, OCiLR stands for ''an access'' to the OCiLR? or If the code as follows: LD A, OCiLR ADD A, #$20 stands for ''an access'' to the OCiLR? tks!2006-04-03 06:25 AM
both of them. but you can try it easily... ;)