انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة
الكلية كلية تكنولوجيا المعلومات
القسم قسم البرامجيات
المرحلة 3
أستاذ المادة حوراء شريف حمزة حسين
20/04/2015 18:31:09
Return Sequence 1. The callee stores the return value near the parameters. Note that this address can be determined by the caller using the old (soon-to-be-restored) sp. 2. The callee restores sp and the registers. 3. The callee jumps to the return address. Note that varagrs are supported. Variable-Length Data on the Stack There are two flavors of variable-length data. ? Data obtained by malloc/new have hard to determine lifetimes and are stored in the heap instead of the stack. ? Data, such as arrays with bounds determined by the parameters are still stack like in their lifetimes (if A calls B, these variables of A are allocated before and released after the corresponding variables of B). It Return Sequence 1. The callee stores the return value near the parameters. Note that this address can be determined by the caller using the old (soon-to-be-restored) sp. 2. The callee restores sp and the registers. 3. The callee jumps to the return address. Note that varagrs are supported. Variable-Length Data on the Stack There are two flavors of variable-length data. ? Data obtained by malloc/new have hard to determine lifetimes and are stored in the heap instead of the stack. ? Data, such as arrays with bounds determined by the parameters are still stack like in their lifetimes (if A calls B, these variables of A are allocated before and released after the corresponding variables of B). It
المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
|