Note 5, DM546, fall 2019

Lecture February 19

Background material: program examples, Appel Chapter 6.

Exercises February 27

IMADA's Computer Lab has been reserved and is used for this exercise slot, so show up there.

These are the exercises for this date and also for the next exercise session. It is important to get things to work in practice as a means of understanding all the underlying principles. Using two exercise sessions, you can try things out, get questions cleared up, and try again.

Assembly programs should be on a file with suffix s (small s) and an executable (a.out) can be produced using gcc, by writing gcc -no-pie file.s on command line; writing ./a.out then executes the program.

Background material: GAS program examples on the literature page.

Announcements

As also pointed out in the above, the exercises on February 27 and March 1 take place in IMADA's Computer Lab.