Slide 20
Slide 20 text
How About Assembly…?
xor eax, eax
xor ebx, ebx
mov eax, 20
mov ebx, 30
add eax, ebx
← Initializing register “eax”
← Copying 20 to “eax”
← Copying 30 to “ebx”
← Adding eax(20) to ebx(30)
One line,
One Instruction!
← Initializing register “ebx”
“20 + 30”