CS 330 Lecture 15 – Assembly Cont’d
Agenda
- what ?s
- line at a time
- dealing with memory
- conditional statements
- calling functions
TODO
- 1/4 sheet. Pick one of:
- Write an assembly program that gets a number from the user and prints out just its least significant byte.
- Read Stop Misquoting Donald Knuth!
Line at a Time
1: ...
2: ...
3: ...
4: ...
5: ...
6: ...
7: ...
8: ...
9: ...
10: ...
11: ...
12: ...
13: ...
14: ...
15: ...
16: ...
17: ...
18: ...
19: ...
20: ...
21: ...
22: ...
23: ...
24: ...
25: ...
26: ...
27: ...
28: ...
29: ...
30: ...
31: ...
32: ...
33: ...
34: ...
35: ...
36: ...
37: ...
38: ...
1: ...
2: ...
3: ...
4: ...
5: ...
6: ...
7: ...
8: ...
9: ...
10: ...
11: ...
12: ...
13: ...
14: ...
15: ...
16: ...
17: ...
18: ...
19: ...
20: ...
21: ...
22: ...
23: ...
24: ...
25: ...
Code
…
Haiku
show