Outline:
- Data movement
mov
instruction variants
movb
/movw
/movl
/movq
movs
/movz
movabsq
push
and pop
- Memory
- arrays and structs
- pointer math and
D(rb, ri, s)
operands
lea
vs. mov
- registers vs. the stack
- function calls
- [If time] Other assembly miscellany
- patterns
do while
vs. while
- recursion
switch
statements
- condition codes and
setXX
test
vs. cmp
- [If time] The new stuff
- Unix commands
- redirection via
<
, >
, and |
Reading assignment (to be completed by the next class):
- Nothing new, just review what we’ve done so far!