This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
compiler implementation
- From: "attonie" <attonie at etang dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 17 May 2002 21:12:01 +0800 (CST)
- Subject: compiler implementation
hello:
i`m contributing a compiler for system programming, but i meet some problem, in my design only one operative type, that is pointer, throught data type restrict to operate data, like:
( 32bit foo )++;
equal in C:
void * foo;
foo = 0x12345678;
( * (unsigned long) foo )++;
in gcc, there is a builtin function, void * __builtin_return( ), to return the function`s result, it`s a function, so it must be exist in targe program, consequently in run-time what`s the layout of the mechanism of function ? much even what`s the layout of targe program run-time ?
and what`s the strategy of asm code generating ?
thanks,
"attonie@etang.com"
-----------------------------------------
买虚拟主机送国际域名及邮箱
http://www.999k.net
亿唐生活品牌第一主打
http://bag.etang.com/payment_1.htm
亿唐短信,您贴身的时尚顾问
http://sms.etang.com
美国大学之门为你而开 百分百拿奖学金
http://campus.etang.com/html/academic/usa/scho/scho017.htm