nedoPC.org

Electronics hobbyists community established in 2002
Atom Feed | View unanswered posts | View active topics It is currently 19 Apr 2024 03:59



Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Си для МК 
Author Message
Banned

Joined: 12 Oct 2006 16:44
Posts: 608
Reply with quote
Post 
SfS wrote:
2. Насчёт стека
void dummy() __attribute__ ((naked));
void dummy()
{
/* тело процедуры */
}

Атрибут naked говорит компилятору, что процедура "голая", то есть при входе в неё НИЧЕГО на стек не кладётся, а при возврате - не берётся...


надо будет в RealView C Compiler'е попробывать


20 Aug 2007 22:57
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 16 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.