Faculty of Information Technology, BUT

Course details

Machine Level Programming

ISU Acad. year 2018/2019 Summer semester 6 credits

Numeral systems: signed and unsigned integer binary representation, binary arithmetic, real numbers in the IEEE-754 format. Assembly language: assembler, basic functions of a central processing unit (CPU). Specific CPU architecture: registers, memory organization, addressing, interrupt system, coprocessors, instruction set and instruction format. Programming in assembler: common control structures, compilation and linking of the code. Relation to the high level programming languages: calling conventions, operating system services. Coprocessor: real number format, instruction set, programming of the floating point unit.

Guarantor

Orság Filip, Ing., Ph.D. (DITS FIT BUT)

Deputy Guarantor

Language of instruction

Czech

Completion

Credit+Examination (written)

Time span

39 hrs lectures, 26 hrs pc labs

Assessment points

60 exam, 16 half-term test, 24 exercises

Department

Lecturer

Instructor

Bardonek Petr, Ing. (DCSY FIT BUT)
Bordovský Gabriel, Ing. (DCSY FIT BUT)
Budiský Jakub, Ing. (DCSY FIT BUT)
Goldmann Tomáš, Ing. (DITS FIT BUT)
Heidari Mona (DITS FIT BUT)
Husa Jakub, Ing. (DCSY FIT BUT)
Jaroš Marta, Ing. (DCSY FIT BUT)
Matyáš Jiří, Ing. (DITS FIT BUT)
Orság Filip, Ing., Ph.D. (DITS FIT BUT)
Regéciová Dominika, Ing. (DIFS FIT BUT)
Sakin Martin, Ing. (DITS FIT BUT)
Semerád Lukáš, Ing. (DITS FIT BUT)
Švec Tomáš, Ing. (DCGM FIT BUT)
Tinka Jan, Ing. (DITS FIT BUT)

Subject specific learning outcomes and competences

Students acquaint with one specific processor architecture. They learn how to use the most important instructions of the processor and its coprocessor, programming of the control structures and they develop learn to develop simple applications (compilation and linking). They learn about calling conventions, some basic operating system services and how to call them. They learn how to practically use this knowledge.

Generic learning outcomes and competences

Students learn about processor architecture form the low level programming point of view, which is one of the very basic skills of an IT professional. They learn how to develop simple applications or libraries in assembler and how to connect them to high level programming language applications.

Learning objectives

To acquaint students with computer programming at the lowest level with focus at chosen processor architecture. To introduce and teach how to actively work with numeral systems, representation of the signed and unsigned numbers, arithmetic in the binary numeral system and representation of the real numbers. To familiarise with a specific processor architecture, its instruction format and addressing modes. To teach to actively work with the common control structures in assembler using given instruction set. To show connection of programming at low level and high level programming via libraries and operating system services. To teach how to use floating point unit to calculate with real numbers.

Why is the course taught

Elementary knowledge about low level processor functionality from a programmer's point of view is an indispensable for a future IT expert. All programmers should know how does a proccessor work and how to program it at its instruction level.

Prerequisite kwnowledge and skills

Basic knowledge of the C language programming.

Study literature

  • DUNTEMANN, Jeff. Assembly language step-by-step: programming with linux. 3rd ed. Indianapolis: Wiley, 2009. ISBN 978-0470497029.
  • Carter, P.: Assembly language tutorial, http://www.drpaulcarter.com/pcasm/, 2002
  • IRVINE, Kip R. Assembly language for x86 processors. Seventh edition. Boston: Pearson, 2015. ISBN 978-0133769401.

Fundamental literature

Syllabus of lectures

  1. Introduction, numeral systems, number specification, binary arithmetic.
  2. Basic functions of a processor, machine language, symbolic language, assembler.
  3. Processor architecture - registers, operand, instruction format, memory addressing, interrupts.
  4. Processor architecture - transfers, arithmetical and logical instructions.
  5. Processor architecture - shifts and rotations, control transfer.
  6. Processor architecture - other instructions.
  7. Mid-term written test.
  8. Basics of low level programming, elementary control structures.
  9. Functions and calling conventions.
  10. Modular programming, libraries, operating system services.
  11. Coprocessor FPU - architecture, real number format, instruction set.
  12. Coprocessor FPU - instruction set, programming, examples.
  13. Compiler for assembler - pseudoinstructions, directives, expressions, operators, operands and macros.

Progress assessment

  • mid-term written test
  • tests in computer exercises

Controlled instruction

  • tests in the computer exercises missed by a valid proved reason (health issues or other valid reasons) will be compensated within the next computer exercise or another date set by the guarantor of the course

Exam prerequisites

At least 20 points earned during semester.

To successfully pass the course students must earn at least 25 points from the final examination.

Schedule

DayTypeWeeksRoomStartEndLect.grpGroupsInfo
Monexam2019-05-06 D0206 D0207 D105 E104 E105 E112 09:0011:50 1BIA 1BIB 2BIA 2BIB řádná
Monexam2019-06-03 D105 09:0011:50 1BIA 1BIB 2BIA 2BIB 2. oprava
Monlecturelectures D105 10:0012:50 1BIA 2BIA 2BIB xx
Monlecturelectures E104 E105 E112 13:0015:50 1BIB 2BIA 2BIB xx
Tuecomp.lablectures N103 N104 N105 08:0009:50
Tuecomp.lablectures N203 08:0020:50
Tueexam2019-05-21 D0206 D0207 D105 09:0011:50 1BIA 1BIB 2BIA 2BIB 1. oprava
Tuecomp.lab2019-04-30 N104 10:0011:50ISU náhrada za 1. 5.
Tuecomp.lablectures N103 N104 N105 12:0020:50
Wedcomp.lablectures N203 08:0020:50
Wedcomp.lablectures N103 N104 N105 08:0011:50
Wedcomp.lablectures N103 N104 N105 16:0020:50
Friexam2019-05-03 D105 16:0018:50 1BIA 1BIB 2BIA 2BIB předtermín

Course inclusion in study plans

  • Programme BIT, 1st year of study, Compulsory
  • Programme IT-BC-3, field BIT, 1st year of study, Compulsory
Back to top