DM548 – Extra Stuff

Lab cheat sheet

Assembly

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:

./1.out

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.sdu.dk/~jlandersen/teaching/dm548_20/

IMADA git server:
git.imada.sdu.dk

Test server:
dm548.imada.sdu.dk

Git guide:
imada.sdu.dk/~jlandersen/_static/git.pdf

GDB intro:
imada.sdu.dk/~jlandersen/_static/teaching/dm548_20/gdbNotes.pdf

External Resources

If you have questions

Send me (Jakob, your TA) an e-mail: jakkj16@student.sdu.dk