Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/12/00 04:21
Read: times


 
#3158 - RE: Short Program Run-Time
Yes that's right,

everytime you call ON/OFF/RESETPORTS routines they terminate with a ret instruction that puts your stack where it was before calling them.

But you are also calling loop which is never terminating with a ret, so your stack grows on and on and overflows.

But it should run more than 4 times..........


LOOP:

acall ON
acall OFF
acall RESETPORTS
acall LOOP
====================
ON
...
...
...

RET
====================
OFF
...
...
...

RET
====================
RESETPORTS
...
...
...

RET
====================

List of 5 messages in thread
TopicAuthorDate
Short Program Run-Time            01/01/70 00:00      
RE: Short Program Run-Time            01/01/70 00:00      
RE: Short Program Run-Time            01/01/70 00:00      
RE: Short Program Run-Time            01/01/70 00:00      
RE: Short Program Run-Time            01/01/70 00:00      

Back to Subject List