DM548 – Extra Stuff

Lab cheat sheet


To assemble and link (Compile):

as --gstabs 1.s -o 1.o

as --gstabs utils.s -o utils.o

ld 1.o utils.o -o 1.out

To run:


To debug with GDB:

gdb ./1.out

Add, Commit, and push to git repository:

git add my_file.txt

git commit -m "Wrote some stuff in my_file.txt"

git push -u origin master

Course resources

Course Homepage:

IMADA git server:

Test server:

Git guide:

GDB intro:

External Resources

If you have questions

Send me (Jakob, your TA) an e-mail: