Course details

Assembly Languages

IAS Acad. year 2010/2011 Winter semester 6 credits

Current academic year

Numeral systems. Unsigned and signed numbers representations, arithmetic in binary system. Machine language, assembly language, assembler. Intel Pentium processors architecture (registers, main memory organization, interrupt system). Integer instruction set. Programming in machine language. NASM assembly language, symbolic instruction, directives, macroinstructions. Assembling and linking. Standard control transfer and passing of parameters in procedures and functions. Operation system services. Programming of PC peripherals (videoRAM, mouse, speaker). Real numbers representation, IEEE standard. FPU architecture and instruction set. FPU programming. Introduction to FITkit.

Guarantor

Language of instruction

Czech

Completion

Credit+Examination (written)

Time span

39 hrs lectures, 13 hrs pc labs

Assessment points

60 exam, 20 half-term test, 20 exercises

Department

Lecturer

Instructor

Kadák Michal, Ing. (DITS FIT BUT)
Kubát David, Ing. (DITS FIT BUT)
Malačka Ondřej, Ing. (DITS FIT BUT)
Novotný Tomáš, Ing. (DITS FIT BUT)
Samek Jan, Ing., Ph.D. (DITS FIT BUT)
Stružka Jaroslav, Ing. (DITS FIT BUT)
Szöllös Alexandr, Ing. (DITS FIT BUT)
Valenta Václav, Ing. (DITS FIT BUT)
Váňa Jan, Ing. (DITS FIT BUT)
Žák Jakub, Ing. (DITS FIT BUT)

Subject specific learning outcomes and competences

Students acquaint with architecture of Intel Pentium processors (real mode) including FPU unit and learn to use the most important integer and FPU instructions. Further they learn assembly language NASM and they will be able to create programs in this language and to compile these programs into executable ones. Students acquire basic knowledge of control transfer and parameters passing and of operation system services and they will be able to apply this knowledge in practice.

Generic learning outcomes and competences

Students acquire basic knowledge of principles of processor architecture and operation that belongs to basic knowledge of all IT specialists. They learn to solve simple problems in assembly language and maintain proper documentation of elementary computer programs.

Learning objectives

To acquaint students with assembly programming directed at PC with Intel Pentium Processors, namely with numeral systems, representations of unsigned and signed numbers, with arithmetic in binary system and with real numbers representation. Further with Intel Pentium basic architecture, types of operands and their references in registers and memories, integer and FPU instruction set, assembly language and typical programming constructions.

Prerequisite kwnowledge and skills

None.

Study literature

  • Abel, P.: IBM PC Assembly Language and Programming, Prentice-Hall, Inc., 1995, ISBN 0-13-317729-7
  • Carter, P.: Assembly language tutorial, http://www.drpaulcarter.com/pcasm/, 2002

Fundamental literature

Syllabus of lectures

  1. Introduction, numerical systems, arithmetic. 
  2. Machine code (language), assembly language, assembler.
  3. Real mode of Pentium processors: registers, operands, instruction formats, memory addressing, interrupts.
  4. Pentium processor instruction set. Integer instructions.
  5. Integer instructions, continuation.
  6. Integer instructions, continuation.
  7. Principles of programming in machine language, typical control constructions.
  8. Assembly language.
  9. Assembly language, continuation.
  10. Modules, libraries, operational system services. Procedures and functions, standard control transfer and passing of parameters.
  11. FPU of Pentium processors.
  12. FPU instruction set.
  13. FITkit.

Syllabus of computer exercises

  1. Assembler (NASM) and linker (LINK).
  2. Principles of programming in machine language, typical control constructions.
  3. Simple programs in assembly language.
  4. Operation system services. Programming of PC peripherals.
  5. Standard control transfer and passing of parameters in procedures and functions.
  6. Individual programs.
  7. FPU programming.

Progress assessment

  • Mid-Term written test
  • Programs in computer exercises

Exam prerequisites

At least 15 points earned during semester.

Course inclusion in study plans

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