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
Dela
Dela
Dela
av
Saadiahmohamad
computer architecture
Redigera innehåll
Skriv ut
Bädda in
Mer
Uppdrag
Rankningslista
Visa mer
Visa mindre
Denna topplista är för närvarande privat. Klicka på
dela
för att göra den offentlig.
Denna topplista har inaktiverats av resursägaren.
Denna topplista är inaktiverad eftersom att alternativen är olika för resursägarna.
Återgå alternativ
Test
är en öppen mall. Det genererar inte noter för en poänglista.
Inloggning krävs
Visuell stil
Teckensnitt
Prenumeration krävs
Alternativ
Växla mall
Visa alla
Flera format visas när du spelar aktiviteten.
Öppna resultat
Kopiera länk
QR-kod
Ta bort
Återställ sparas automatiskt:
?