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

INSTRUCTION SET & ASSEMBLY LANGUAGE PROGRAMMING

リーダーボード

表示スタイル

オプション

テンプレートを切り替える

自動保存: を復元しますか?