From 2 November 2020, the autumn semester 2020 will take place online. Exceptions: Courses that can only be carried out with on-site presence. Please note the information provided by the lecturers via e-mail.

252-0061-00L  Systems Programming and Computer Architecture

SemesterAutumn Semester 2016
LecturersT. Roscoe
Periodicityyearly recurring course
Language of instructionEnglish

Catalogue data

AbstractIntroduction to computer architecture and system programming:

Instruction sets, storage hiearchies, runtime structures with an
emphasis on computers as engines for the execution of compiled
programs. Interaction between system software and the hardware.
Problems that arise from the final respresentation, performance
measurement and tuning, and program portability issues are covered.
ObjectiveThe objective is to allow students to understand all aspects of the
execution of compiled (C) programs on modern architectures -- the
instruction set, the storage resources (registers, stack, memory),
input/output, the impact of compiler decisions, and the interaction
between the operating system and hardware. Two main themes are
correctness issues (esp. those that arise from the finite
representation of data) and performance issues (incl. measurement and
tuning issues). The interface to the operating system is discussed to
prepare for subsequent classes on more advanced systems topics.

The two key goals are:

1) To equip students with a thorough understanding of how to
write correct programs that run fast on modern computer, and
2) How to write correct and efficient low-level systems code.

This course does not cover how to design or build a processor or
ContentThis course provides an overview of "computers" as a
platform for the execution of (compiled) computer programs. This
course provides a programmer's view of how computer systems execute
programs, store information, and communicate. The course introduces
the major computer architecture structures that have direct influence
on the execution of programs (processors with registers, caches, other
levels of the memory hierarchy, supervisor/kernel mode, and I/O
structures) and covers implementation and representation issues only
to the extend that they are necessary to understand the structure and
operation of a computer system.

The course attempts to expose students to the practical issues that
affect performance, portability, security, robustness, and
extensibility. This course provides a foundation for subsequent
courses on operating systems, networks, compilers and many other
courses that require an understanding of the system-level
issues. Topics covered include: machine-level code and its generation
by optimizing compilers, address translation, input and output,
trap/event handlers, performance evaluation and optimization (with a
focus on the practical aspects of data collection and analysis).
LiteratureThe course is based in part on "Computer Systems: A Programmer's Perspective" (2nd Edition) by R. Bryant and D. O'Hallaron, with some additional material.
Prerequisites / Notice252-0024-00L Parallel Programming,
252-0014-00L Digital Circuits

Performance assessment

Performance assessment information (valid until the course unit is held again)
Performance assessment as a semester course
ECTS credits8 credits
ExaminersT. Roscoe
Typesession examination
Language of examinationEnglish
RepetitionThe performance assessment is only offered in the session after the course unit. Repetition only possible after re-enrolling.
Mode of examinationwritten 180 minutes
Written aidsNo written aids allowed, except for a German-English dictionary.
This information can be updated until the beginning of the semester; information on the examination timetable is binding.

Learning materials

Main linkInformation
Only public learning materials are listed.


252-0061-00 VSystems Programming and Computer Architecture4 hrs
Tue10-12HG G 5 »
Wed10-12NO C 60 »
T. Roscoe
252-0061-00 USystems Programming and Computer Architecture2 hrs
Thu13-15CHN D 42 »
13-15CHN G 46 »
13-15LEE C 104 »
13-15LEE D 105 »
13-15LFW C 1 »
13-15ML J 34.1 »
13-15ML J 37.1 »
T. Roscoe
252-0061-00 ASystems Programming and Computer Architecture
Project Work, no fixed presence required.
1 hrsT. Roscoe


No information on groups available.


There are no additional restrictions for the registration.

Offered in

Computer Science BachelorCompulsory Courses (3. Sem.)OInformation
Computer Science Teaching DiplomaPart 1OInformation