| ??? 03/16/07 15:09 Read: times |
#135114 - RET in main Responding to: ???'s previous message |
Even main() should have a different end, the compiler adds a RET instruction. In this SPECIAL case (stack quite clean) RET will produce a software reset (jump to 0x0000).
If LED is connected to ground, probably it will not blink at all (Ioh is very low, aprox. 100uA). Daniel |
| Topic | Author | Date |
| Help with the delay program | 01/01/70 00:00 | |
| What does it do? | 01/01/70 00:00 | |
| Hints. | 01/01/70 00:00 | |
| Check with debugger | 01/01/70 00:00 | |
| could this be it ? | 01/01/70 00:00 | |
| Difficult to see | 01/01/70 00:00 | |
| that depends | 01/01/70 00:00 | |
| RET in main | 01/01/70 00:00 | |
| nope - and compiler dependent | 01/01/70 00:00 | |
| RET in functions | 01/01/70 00:00 | |
| how do you know that ? | 01/01/70 00:00 | |
| Because of Startup | 01/01/70 00:00 | |
| ah | 01/01/70 00:00 | |
| some contra | 01/01/70 00:00 | |
in other words - and who cares | 01/01/70 00:00 |



