Re:jmp $ or hlt?
Posted: Sun Mar 26, 2006 1:45 pm
Theres nothing wrong with it it's just "non-standard", and I don't like it myself.
Maybe it's a carry over from applications. When main() finishes, the program stops. To some people (like me ), it's counter-intuitive to continue processing events/interrupts after the main function has returned.
All I suggest is that you comment it well.
Maybe it's a carry over from applications. When main() finishes, the program stops. To some people (like me ), it's counter-intuitive to continue processing events/interrupts after the main function has returned.
All I suggest is that you comment it well.