[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: [f-cpu] Memory add/sub



Hi,

----Message d'origine----
De: Lavergne Thomas

>>>>push/pop is just one use of pointer updates, and the existing 
>>>>post-increment (with register or immediate modifier) has 
>>>>already been discussed, right ? 
>>>
>>>Yes, and you perhaps forgot that the solution need a add/sub
>>>before doing a pop after the last push.
>> 
>> or a push without pointer update.
>> 
>
>And you forgot the problems when the push/pop sequence was stoped by an 
>interuption or a trap...

This is not a problem, unless you are suicidal enough to
use the interrupted task's stack (and particularly in the
case of a fault).

>Thomas Lavergne
YG

*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/