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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/24/00 19:14
Read: times


 
#4690 - RE: Interrupt causing a crash

> I'm sorry, but since I'm so new to this, how can I count the number of stack pushes?

The directive
#pragma cd
add the generated code into the list files. Then you can count the pushes.

And the *.m51 file list the usage of the data space.


Today I used floating point and interrupts in a program and it crashed also. So in this case 16 byte stack seems not enough.
Now after replacing the 8051 with the 8052 the program run succesful.
Because there are additional 128 bytes data space in the 8052.


Peter


List of 15 messages in thread
TopicAuthorDate
Interrupt causing a crash            01/01/70 00:00      
RE: Interrupt causing a crash            01/01/70 00:00      
RE: Interrupt causing a crash            01/01/70 00:00      
RE: Interrupt causing a crash            01/01/70 00:00      
RE: Interrupt causing a crash            01/01/70 00:00      
RE: Interrupt causing a crash            01/01/70 00:00      
RE: Interrupt causing a crash            01/01/70 00:00      
RE: Mapping the STACK.            01/01/70 00:00      
RE: Interrupt causing a crash            01/01/70 00:00      
RE: Interrupt causing a crash            01/01/70 00:00      
RE: Interrupt causing a crash            01/01/70 00:00      
RE: Interrupt causing a crash            01/01/70 00:00      
RE: Interrupt causing a crash            01/01/70 00:00      
RE: Interrupt causing a crash            01/01/70 00:00      
RE: Interrupt causing a crash            01/01/70 00:00      

Back to Subject List