Subject:
|
BCLR TFLG1,X %11111101?
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Fri, 28 Jun 1996 07:29:51 GMT
|
Original-From:
|
Jeff Keyzer <jkeyzer@calweb+ihatespam+.com>
|
Viewed:
|
1541 times
|
| |
| |
In the file encoders.asm, there's a section like:
Port1_ShaftInt:
LDX variable_port1_shaft_count
[stuff deleted]
BCLR TFLG1,X %11111101
RTI
I'm trying to figure out what the BCLR line does. Why does it clear
the bits of all the timers _except_ the one it's using? I would think that
BSET TFLG1,X %00000010 would be more appropriate for the task. Anyone know
how this works?
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|