⚙️

Assembly Language MCQ

Test your Assembly Language knowledge with 100 multiple choice questions covering fundamentals to advanced concepts, with instant feedback and explanations.

100 Questions 40 Beginner 40 Intermediate 20 Advanced
1

What is the calling convention?

2

What is the System V AMD64 ABI calling convention?

3

What is the difference between caller-saved and callee-saved registers?

4

What is CISC vs RISC?

5

What is alignment in memory addressing?

6

What is a segment register and what are the common ones?

7

What is an interrupt?

8

What is the purpose of CPUID instruction?

9

What is SSE in the context of x86?

10

What does the LEAVE instruction do?

11

What is the red zone in x86-64 System V ABI?

12

What is MOVZX and MOVSX?

13

What is a NOP sled used for in security?

14

What is address space layout randomization (ASLR)?

15

What is stack canary?

16

What is return-oriented programming (ROP)?

17

What does the LOCK prefix do?

18

What is CMPXCHG used for?

19

What is a memory fence (MFENCE, LFENCE, SFENCE)?

20

What is the difference between PUSH/POP and PUSHA/POPA?

21

What is pipelining and how does it affect assembly programming?

22

What is the difference between IMUL and MUL in x86?

23

What does the SHR instruction do?

24

What does the NEG instruction do?

25

What is the purpose of the REP prefix with string instructions?

26

What does MOVS (MOVSB/MOVSW/MOVSD) do?

27

What does STOS (STOSB/STOSW/STOSD) do?

28

What is the Direction Flag (DF) used for?

29

What is CALL FAR vs CALL NEAR?

30

What is the Sign Flag (SF) set to after an operation?

31

What is the Parity Flag (PF) used for?

32

What is a protected mode in x86?

33

What is long mode (64-bit mode) in x86-64?

34

What is PUSHF/POPF used for?

35

What is the difference between JBE and JLE?

36

What is a procedure prologue and epilogue in 64-bit code?

37

What is a vtable call in assembly terms?

38

What is the hot and cold code split technique?

39

What is the difference between movdqu and movdqa?

40

What is instruction-level parallelism (ILP) and superscalar execution?