عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
  #1  
قديم 21-05-2011, 07:41 PM

looly77 looly77 غير متواجد حالياً

جامعي

 
تاريخ التسجيل: Mar 2011
التخصص: cs
نوع الدراسة: إنتظام
المستوى: الرابع
الجنس: أنثى
المشاركات: 9
Skaau.com (10) مساعده في الحل والفهم ارجوووكم


السلام عليكم ورحمه الله وبركاته
اعتذر على الاثقال في سوال
ولاكن ارجو الاجابه على اسالتي والتوضيح ان سمحتم
وجزاكم الله خير >>>ارحميني ياللغه العربيه هعهعهعنقرتين لعرض الصورة في صفحة مستقلة
--------------------------------------------
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 deion 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.
رد مع اقتباس