1) Identify the assembly language instruction that is used to perform logical operations a) MOVE b) DIVU c) AND d) MULU 2) Identify the data type that refers to the symbol '@' in instruction SUB.W #@67, D5 a) OCTAL b) BINARY c) DECIMAL d) HEXADECIMAL 3) Choose the instruction that perform subtraction operation, D3-D5 in byte size. a) SUB.B D5,D3 b) SUB.B D3,D5 c) SUB.B #D2,#D5 d) SUB.B $D2,$D5 4) Identify the CORRECT type of Absolute Addressing mode. a) MOVE.B #8,D1 b) MOVE.W $4007, D3 c) MOVE.B (A1), D5 d) MOVE.B D7,(A1) 5) By refering to the code statement in Figure 1, identify the instruction for X if the program wants to multiply D3 and D5 a) MULU.B D3,D5 b) MULU.W D3,D5 c) DIVU.W D3,D5 d) DIVU.L D3,D5 6) Choose the value of D7 after execution of instruction MOVE.W #%11111111,D7. a) 000000FF b) 000000EE c) 00001111 d) 000011FF 7) Based on Figure 2, choose the value of D3 after the execution of the following instruction "MOVE.L D2,D3 " a) AABB5678 b) CCDD1234 c) AABB1234 d) CCDD5678 8) Based on Figure 2, choose the value of D3 after the execution of the following instruction "MOVE.W D2,D3 " a) AABB5678 b) CCDD1234 c) AABB1234 d) CCDD5678 9) Based on Figure 2, choose the value of D3 after the execution of the following instruction "SUB.W D2,D3 " a) AABB5678 b) CCDD4444 c) AABB1234 d) CCDD5644 10) Identify the correct type of addressing mode for the given assembly language in Figure 3 below a) Direct addressing mode b) Immediate addressing mode c) Indirect addressing mode d) Absolute addressing mode
0%
INSTRUCTION SET & ASSEMBLY LANGUAGE PROGRAMMING
مشاركة
مشاركة
مشاركة
بواسطة
Saadiahmohamad
computer architecture
تحرير المحتوى
طباعة
تضمين
المزيد
الواجبات
لوحة الصدارة
عرض المزيد
عرض أقل
لوحة الصدارة هذه في الوضع الخاص حاليًا. انقر على
مشاركة
لتجعلها عامة.
عَطَل مالك المورد لوحة الصدارة هذه.
عُطِلت لوحة الصدارة هذه حيث أنّ الخيارات الخاصة بك مختلفة عن مالك المورد.
خيارات الإرجاع
اختبار تنافسي
قالب مفتوح النهاية. ولا يصدر عنه درجات توضع في لوحة الصدارة.
يجب تسجيل الدخول
النمط البصري
الخطوط
يجب الاشتراك
الخيارات
تبديل القالب
إظهار الكل
ستظهر لك المزيد من التنسيقات عند تشغيل النشاط.
فتح النتائج
نسخ الرابط
رمز الاستجابة السريعة
حذف
استعادة الحفظ التلقائي:
؟