NASM Coding: Trace Tables

Here is the trace table for the program on slide 38:

Instruction
stdin
rax
rbx
rdi
stdout
Exit Code Notes
mov rax, 5
5d
mov rbx, 3
5d
3d
add rax, rbx
8d
3d
mov rdi, rax
8d
3d
8d
mov rax, 60
60d
3d
8d
syscall
60d
3d
8d
8
exit(8);