انا طالبة هند سة معلوماتية جامعة دمشق
واللآن ناخذ بدايات عن لغة الأسمبلي للمعالج mips إلى الأن لم نتطرق للفوائد واهمية لغة الأسمبلي
فلو سمحتو وجهوني إلى الطريق الصح وكمان دلوني على مرجع مفيد خاص بلغة mips
شاكرة تعاونكم سلفا (h)
انا طالبة هند سة معلوماتية جامعة دمشق
واللآن ناخذ بدايات عن لغة الأسمبلي للمعالج mips إلى الأن لم نتطرق للفوائد واهمية لغة الأسمبلي
فلو سمحتو وجهوني إلى الطريق الصح وكمان دلوني على مرجع مفيد خاص بلغة mips
شاكرة تعاونكم سلفا (h)
يعني جيران :)
باي حال لم اتعامل مع MIPS من قبل.. او حتى ابحث بها لانها خارج مجال اهتمامي.. اعتقد ان التركيز عليها فقط لانكم في النهاية قد تقومون بكتابة تطبيقات تحكم للـ microcontroller..
ممتاز (لمن قام بكتابة تطبيق واحد على الاقل بالاسمبلي من قبل حتى ولو كان console و "Hello Folks!" :P وجيد جدا للمبتدئين الى الكتابة بـ MIPS:
http://chortle.ccsu.edu/AssemblyTutorial/T...alContents.html
http://www.mips.com/content/Documentation/...ware/doclibrary (لم اطلع عليها)
معلومات عامة عن MIPS ومختلف المعالجات: http://www.cpu-collection.de/?tn=1&l0=cl&l1=MIPS%20Rx000
بالتوفيق
Do as I say, not as I do
We are Anonymous. We are Legion. We don't forgive. We don't forget
السلام عليكم
لا يوجد لغة أسيمبلي لل mips ولا لأي معالج آخر ،ولكن هي عبارة عن تعليمات خاصة بكل معالج، ثم تختار الأسمبلر الذي يعجبك
بالنسبة لل mips هذا هو المراجع الخاصة بها
http://www.mips.com/content/Documentation/...ores/doclibrary
و الأسمبلر gas يدعم هذا النوع وأيضا GCC .
System Engineer
Red Hat Certified Engineer
Red Hat Certificate Number
805010381752078
لحظة, الاسمبلي هي ما تقوم على التعليمات التي يتم من خلالها التخاطب مع المعالج.. فكيف "لا يوجد لغة اسمبلي .. لاي معالج اخر" ؟ او اني لم افهم هذه النقطة جيدا :P
Do as I say, not as I do
We are Anonymous. We are Legion. We don't forgive. We don't forget
بس ما قلتولي شو فوائد لغة الأسمبلي
يعني يا ريت تشرحوا وتستفيضو بالشرح على اعتبار إني كتير مبتدئة
"<a href='http://en.wikipedia.org/wiki/Assembly_language"'>http://en.wikipedia.o كتب:There is some debate over the continued usefulness of assembly language. It is often said that modern compilers can render higher-level languages into codes that run as fast as hand-written assembly, but counter-examples can be made, and there is no clear consensus on this topic. It is reasonably certain that, given the increase in complexity of modern processors, effective hand-optimization is increasingly difficult and requires a great deal of knowledge.However, some discrete calculations can still be rendered into faster running code with assembly, and some low-level programming is actually easier to do with assembly. Some system-dependent tasks performed by operating systems simply cannot be expressed in high-level languages. In particular, assembly is often used in writing the low level interaction between the operating system and the hardware, for instance in device drivers. Many compilers also render high-level languages into assembly first before fully compiling, allowing the assembly code to be viewed for debugging and optimization purposes.
It's also common, especially in relatively low-level languages such as C, to be able to embed assembly language into the source code with special syntax. Programs using such facilities, such as the Linux kernel, often construct abstractions where different assembly language is used on each platform the program supports, but it is called by portable code through a uniform interface.
Many embedded systems are also programmed in assembly to obtain the absolute maximum functionality out of what is often very limited computational resources, though this is gradually changing in some areas as more powerful chips become available for the same minimal cost.
Another common area of assembly language use is in the system BIOS of a computer. This low-level code is used to initialize and test the system hardware prior to booting the OS and is stored in ROM. Once a certain level of hardware initialization has taken place, code written in higher level languages can be used, but almost always the code running immediately after power is applied is written in assembly language.
Assembly language is also valuable in reverse engineering, since many programs are distributed only in machine code form, and machine code is usually easy to translate into assembly language and carefully examine in this form, but very difficult to translate into a higher-level language. Tools such as the Interactive Disassembler make extensive use of disassembly for such a purpose
"<a href='http://maven.smith.edu/~thiebaut/ArtOfAssembly/fwd/fwd.html#78"'>http: كتب:Speed. Assembly language programs are generally the fastest programs around.Space. Assembly language programs are often the smallest.
Capability. You can do things in assembly which are difficult or impossible in HLLs.
Knowledge. Your knowledge of assembly language will help you write better programs, even when using HLLs.
هل هناك استفاضة اكثر بعد هذا؟ بكل بساطة لغة الاسمبلي تستطيع الوصول الى جميع موارد النظام والتحكم بجميع الاجهزة الملحقة نظرا لانه بالامكان كتابة محركات VxD بواسطتها بسهولة (مقارنة طبعا مع اللغات العالية المستوى كـ C)
استهلاك اقل للذاكرة, حجم اصغر للتطبيقات, اتقانها يعني اتقان تنقيح البرامج في مجال هندسة البرمجيات او .. "قرصنة البرمجيات" :D
الـ microcontroller والاجهزة الصناعية تعمل على هذا الاساس, كيف ساقوم ببرمجة MC.. بالفيشوال؟ :P
http://www.wiu.edu/users/mflll/cs310/unit1.html
اخيرا العبارة المشهورة: "Why to use assembly language? speed, speed and more speed" :lol:
تم تعديل هذه المشاركة بواسطة Xacker في 27 أبريل 2006 في 21:34
Do as I say, not as I do
We are Anonymous. We are Legion. We don't forgive. We don't forget
شكرا كتير :)
متشكرة قوي قوي :)
إن شاء الله بردلكم هالخدمة لما بصير خبيرة بها الأمور (h)
good bye
ان شاء الله :)
Do as I say, not as I do
We are Anonymous. We are Legion. We don't forgive. We don't forget
هذا الموضوع مغلق.