??? 06/12/08 10:37 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#155739 - Stepping through? Responding to: ???'s previous message |
Stepping through with what? An simulator, and
emulator? Maybe the problem is with the tool? As in PCON you usually find IDLE or POWERDOWN flags, there might be something wrong. However, your code looks good. So just try an ORL PCON, #00h which does not set the bit 7, which does not set any bit at all, but just try it, and check if that 'also hangs' when stepping through. If so, check the tools used. |
Topic | Author | Date |
PCON Register on AT89C52 | 01/01/70 00:00 | |
try ORing the bit | 01/01/70 00:00 | |
ORL DOES mess with other bits, too... | 01/01/70 00:00 | |
The Intel assembler | 01/01/70 00:00 | |
OK, OK, | 01/01/70 00:00 | |
I think the "which assembler" was directed to the | 01/01/70 00:00 | |
Complete initiation | 01/01/70 00:00 | |
Initiation code and lst info | 01/01/70 00:00 | |
this looks good... | 01/01/70 00:00 | |
I was just stepping through | 01/01/70 00:00 | |
Stepping through? | 01/01/70 00:00 | |
what happens if ... | 01/01/70 00:00 | |
I can set certain bits in the PCON reg | 01/01/70 00:00 | |
that may be the problem | 01/01/70 00:00 | |
this is a bug in the monitor | 01/01/70 00:00 | |
I was beginning to think the same![]() | 01/01/70 00:00 |