460-4083/04 – Assembly Languages (SOJ)

Gurantor departmentDepartment of Computer ScienceCredits6
Subject guarantorIng. Petr Olivka, Ph.D.Subject version guarantorIng. Petr Olivka, Ph.D.
Study levelundergraduate or graduateRequirementCompulsory
Study languageEnglish
Year of introduction2018/2019Year of cancellation
Intended for the facultiesFEIIntended for study typesFollow-up Master, Master
Instruction secured by
LoginNameTuitorTeacher giving lectures
OLI10 Ing. Petr Olivka, Ph.D.
Extent of instruction for forms of study
Form of studyWay of compl.Extent
Full-time Credit and Examination 2+2
Combined Credit and Examination 14+7

Subject aims expressed by acquired skills and competences

The main goal of this course is to introduce usage of computer technical resources in assembly language. Students will be able to eliminate the shortcomings of higher programming language code after completing the course. Students will also be able to combine modules from multiple programming languages ​​into one program.

Teaching methods



Students will learn in this course the assembly programming under Linux OS on x86 hardware. They will be familiar with technical capabilities of a processor and the using ALU, FPU and SSE units. They will learn some programming techniques which are not possible in high-level programming languages.

Compulsory literature:

Required reading: Barry B. Brey, The Intel Microprocessors, Prentice Hall; 8 edition (June 28, 2008), ISBN: 0135026458 Benjamin Ray Seyfarth, Introduction to 64 Bit Intel Assembly Language Programming for Linux, CreateSpace Independent Publishing Platform; 2 edition (June 23, 2012), ISBN: 1478119209 http://www.intel.com and http://www.amd.com - Programming Manuals for the lates CPU. Recommended reading: NASM compiler documentation, http://www.nasm.us

Recommended literature:

NASM compiler documentation, http://www.nasm.us

Way of continuous check of knowledge in the course of semester

Students will be fullfill asigned task during labs. The results of these tasks will form the basis for the final evaluation.


Další požadavky na studenta

Experiences with programming in C/C++ language.


Subject has no prerequisities.


Subject has no co-requisities.

Subject syllabus:

Lecture: 1. Intel processor, operands, registers, addressing, index and base registers. 2. Data moving instructions, direct and indirect addressing. 3. Arithmetical and logical instructions. 4. Jumps and conditional instructions. String instructions. 5. Instruction set extensions during Intel processors history. 6. Linking assembly language with C language. 7. Argument passing to functions. Passing of return values. 8. 64-bit extensions of modern CPUs. 9. Static and dynamic linking, implementation of OOP and some C++ features. 10. Calculations with large numbers - basics. 11. Calculations with large numbers - without size limitation. 12. Format of float and fixed point numbers, computing with float and fixed point numbers. 13. FPU, SSE unit. Labs: 1. Registers, addressing modes, 2. Linking assembly and C language. Public, private and extern symbols. 3. Jumps and conditional instructions. 4. Logical and arithmetical instructions. 5. String instructions. 6. Argument passing using stack. 7. Manipulation with base data types in functions. 8. Calculations with large numbers using registers. 9. Computing with N-bits numbers, adding, shifting, rotating. 10. Computing with N-bits numbers, multiplication, division, square root. 11. 64-bits mode programming. 12. Float and fixed number computing. 13. FPU and SSE unit usage.

Conditions for subject completion

Full-time form (validity from: 2018/2019 Winter semester)
Task nameType of taskMax. number of points
(act. for subtasks)
Min. number of points
Credit and Examination Credit and Examination 100 (100) 51
        Credit Credit 45 (45) 23
                Tasks in labs Other task type 45  23
        Examination Examination 55 (55) 28
                Project Project 27  14
                Written exam Written examination 28  14
Mandatory attendence parzicipation: The obligatory of exercises corresponds to required minimum of points to get credit.

Show history

Occurrence in study plans

Academic yearProgrammeField of studySpec.FormStudy language Tut. centreYearWSType of duty
2019/2020 (N2647) Information and Communication Technology (1801T064) Information and Communication Security P English Ostrava 1 Compulsory study plan
2019/2020 (N0612A140005) Information and Communication Security P English Ostrava 1 Compulsory study plan
2018/2019 (N2647) Information and Communication Technology (1801T064) Information and Communication Security P English Ostrava 1 Compulsory study plan

Occurrence in special blocks

Block nameAcademic yearForm of studyStudy language YearWSType of blockBlock owner