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
Bagikan
Bagikan
Bagikan
oleh
Saadiahmohamad
computer architecture
Edit Konten
Cetak
Menyematkan
Tambah
Tugas
Papan Peringkat
Tampilkan lainnya
Tampilkan lebih sedikit
Papan peringkat ini saat ini bersifat pribadi. Klik
Share
untuk menjadikannya publik.
Papan peringkat ini telah dinonaktifkan oleh pemilik sumber daya.
Papan peringkat ini dinonaktifkan karena opsi Anda berbeda dengan pemilik sumber daya.
Opsi Pemulihan
Kuis
adalah templat terbuka. Ini tidak menghasilkan skor untuk papan peringkat.
Diperlukan login
Gaya visual
Font
Diperlukan langganan
Pilihan
Berganti templat
Tampilkan semua
Format lainnya akan muncul saat Anda memainkan aktivitas.
Buka hasil
Salin tautan
Kode QR
Hapus
Pulihkan simpan otomatis:
?