In which fields is assembly language used

Technical informatics I
Subroutines and addressing

--- main.cpp --------- 1: int add (int varA, int varB) {009C1020 55 push ebp // push stack base pointer 009C1021 8B EC mov ebp, esp // setup new stack frame 2: return varA + varB; 009C1023 8B 45 08 mov eax, [ebp + 08h] // access parameters 009C1026 03 45 0C add eax, [ebp + 0Ch] 3:} 009C1029 5D pop ebp // pop stack base pointer 009C102A C3 ret --- no source file - - 009C102B CC int 3 009C102C CC int 3 009C102D CC int 3 009C102E CC int 3 009C102F CC int 3 --- main.cpp --------- 4: 5: int main () {009C1030 55 push ebp 009C1031 8B EC mov ebp, esp 009C1033 51 push ecx 6: int result = add (1, 2); 009C1034 6A 02 push 2 009C1036 6A 01 push 1 009C1038 E8 C8 FF FF FF call add (9C1020h) 009C103D 83 C4 08 add esp, 8 // clean up parameter pushes 009C1040 89 45 FC mov result, eax 7: return 0; 009C1043 33 C0 xor eax, eax 8:} 009C1045 8B E5 mov esp, ebp // clean up "push ecx" 009C1047 5D pop ebp 009C1048 C3 ret