| ??? 06/15/03 06:28 Read: times |
#48405 - What's SP? |
Hi:
What is the use of the SFR "SP"? I read the information given in the tutorials, but I still don't understand the usage of the SP. I want the 89c52 JMP to a particular address after the interrupt. There are 7 light sensors in my robot. All of them share the INT0 by an "OR-gate"(any of them detected the ball will trigger the INT0.) After the interrupt, I MOV the value of the 7 light sensors into RAM. I want to check which of the light sensors detected the ball.(by a series of "JBC") After indicated which light sensor detected the ball, I JMP to the repensented movement (dash, left turn...) But all the robot's movement are in the INT procedure.(i.e. no further interrupt allowed). How can I solve this problem? (allow further interrupt) Stanley Lio |
| Topic | Author | Date |
| What's SP? | 01/01/70 00:00 | |
| RE: What's SP? | 01/01/70 00:00 | |
| RE: What's SP? | 01/01/70 00:00 | |
| RE: What's SP? | 01/01/70 00:00 | |
| RE: What's SP? | 01/01/70 00:00 | |
| RE: What's SP? | 01/01/70 00:00 | |
| RE: What's SP? | 01/01/70 00:00 | |
| RE: What\'s SP? | 01/01/70 00:00 | |
| RE: What\'s SP? | 01/01/70 00:00 | |
| RE: What's SP? | 01/01/70 00:00 | |
| RE: What's SP? | 01/01/70 00:00 | |
| RE: What's SP? | 01/01/70 00:00 | |
RE: What's SP? | 01/01/70 00:00 |



