الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

[مخالف - طلب حل : ][تنبيه - عنوان غير مناسب : ]اسئلة ..

مغلق
بدأه M!ss Programmer في 20 مايو 2011 · 3 رد · 990 مشاهدة · في أرشيف قسم الـــ Assembly
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم ورحمة الله وبركاته ..

اخواني الاعزاء ... عندي 8 اسئلة في الاسمبلي ..

بصراحة مرة ماني عارفة احلها ...

اتمنى انكم تساعدوني فيها لاني مرة مبتدئـــــــــة مع الاسمبلي ...

مو ضروري الحلول بس فهموني ايش المطلوب من الاسئلة ..

الله يجزاكم الف خير ..

For the following questions in each category:

• Write the 68HC11 instruction needed to implement the task

• Describe the operation implemented by the instruction using the notation used in Table 1 of Programming Reference Guide. You may also refer to detailed description about each instruction in Appendix A of the Reference Manual.

• Write the machine language code for that instruction in hexadecimal notation.

• Give any additional answers required by the question.

(Q1) Load A with data from memory location (address) $D0F2.

(Q2) Store B into memory location whose address is obtained by adding an offset of $20 to the index

register Y.

(Q3) Add with carry to B and to data at memory location $202C and store the result in B. Assuming

M[$202C] = 11001001 and B = 10010011, Carry = 1 before the instruction is executed, what

is the value of B after this instruction is executed? Also, what bits of CCR are affected and what

are their values after this instruction is executed?

(Q4) Exclusive OR A with data at memory location whose address is obtained by adding an offset of

$3E to the index register X. Store the result in A.

(Q5) Clear bit 6, bit 5 and bit 1 of the byte stored at memory address $102C.

(Q6) Logical shift right B. Assuming B = 11100111 before the instruction is executed, what is the value of

B after this instruction is executed? Write the values of B, before and after this instruction is executed,

as signed decimal numbers assuming that the binary value stored in B is in 2’s complement notation.

(Q7) Arithmetic shift right B. Assuming B = 11100111 before the instruction is executed, what is the value

of B after this instruction is executed? Write the values of B, before and after this instruction is

executed, as signed decimal numbers assuming that the binary value stored in B is in 2’s complement

notation.

(Q8) Load index register X with two bytes stored starting at memory address $E080.

لو رأيـت الجميع ضدك والالوان غيـر لونــــك والكل ماشـي عكسك " لاتتــــردد"..

إمشي وراء قلبـــك وتمسك بمبادءك ولاتأبه لهــم حتى وأن أصبحت وحيداً "لاتتــــردد"..

فالوحدة أفضـل من أن تعيش عكس نفسك لارضاء غيرك..

إن الحياة كتاب مليء .. بالصـور .. والالوان ..والحكايات فلتعشها جميعهـا..

ولتخترالافضل لك ومهما حدث

لاتبكي ولكن إبتسم ..

ودع الدنيا تبكي من جبروت إبتسامتـك ....

#2

المطلوب منكي في كل سؤال تكتبي الامر الخاص من الاسمبلي بالسؤال طبعا حسب المعطى عندكم في جدول الاوامر instruction set

النقطة الثانية بيطلب منكي التمثيل حسب ما معطى معاكم في الابنديكس بس انا اعتقد ان قصده وصف امر الاسمبلي باستخدام الRTL

النقطة الثالثة هو حابب انكي تكتبي القيمه الhexadecimal للأمر مثلا لو الامر MOV قيمتة 3F تعوضي عنه بهذه القيمه

النقطة الاخيره هي انكي تضيف اجابات حسب ما يتطلب كل سؤال يعني مش محدد

No intellectual battle was ever won through retreat
You do not watch Gintama? Dude, you are missing a lot!


صورةmsrgb1485.gif ocajavase7programmerclr.gif

#3

الأخ الكريم/الأخت الكريمة

السلام عليكم ورحمة الله وبركاته

مرحباً بكم في منتدى الفريق العربي للبرمجة

نود تنبيهك أن العنوان غير مناسب.

الرجاء اختيار عنوان مناسب أكثر في مواضيعك القادمة، وهذا بمثابة إشعار للأهمية.

وفي حال التكرار سيتعرض موضوعك للإغلاق والحذف!!!

قواعد المشاركة

/index.php?showtopic=29343

شاكرين لكم حُسن تعاونكم

logo1.png تطبيق طمأنينة ، نسخة بيتا على أندرويد

عبدالله الشمّري - Al-Shammari

CodingAlone.com

twitter @abshammeri

abshammeri AT gmail.com

github : abshammeri

#4

الأخ الكريم/الأخت الكريمة

السلام عليكم ورحمة الله وبركاته.

مرحباً بكم في منتدى الفريق العربي للبرمجة

تأسف إدارة المنتدى لغلق الموضوع وذلك لمخالفته قوانين المشاركات، فقرة طلب حل الواجبات والتمارين.

قواعد طرح المشاركات

/index.php?showtopic=29343

شاكرين لكم حُسن تعاونكم

logo1.png تطبيق طمأنينة ، نسخة بيتا على أندرويد

عبدالله الشمّري - Al-Shammari

CodingAlone.com

twitter @abshammeri

abshammeri AT gmail.com

github : abshammeri

هذا الموضوع مغلق.

مواضيع مشابهة

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…