Recitation2 Bomb Lab: Video Link
Reminder
Read the writeup before starting.
Do not jump to particular problem using GDB.
Review
-
$ is for constant beginning. i.e. $4, $0x40
% for register begining -
All about —> Operation + Src + Dest
-
lea does not dereference. So it does not get value at that address. It does get address, but not value of that address.
-
Pay attention to operand order in Comparisions.
cmp b, a
computes a-b