Title:

Advanced Assembly Languages

Code:IPA
Ac.Year:2012/2013
Term:Winter
Curriculums:
ProgrammeBranchYearDuty
IT-BC-3BIT-Elective
Language:Czech
Private info:http://www.fit.vutbr.cz/study/courses/IPA/private/
Credits:5
Completion:examination (written)
Type of
instruction:
Hour/semLecturesSem. ExercisesLab. exercisesComp. exercisesOther
Hours:26001412
 ExaminationTestsExercisesLaboratoriesOther
Points:60014026
Guarantee:Orság Filip, Ing., Ph.D., DITS
Lecturer:Orság Filip, Ing., Ph.D., DITS
Instructor:Klubal Ondřej, Ing., DITS
Faculty:Faculty of Information Technology BUT
Department:Department of Intelligent Systems FIT BUT
 
Learning objectives:
To give the students better knowledge of developing of more complex low-applications. To teach them how to use the multimedial extension instructions of the Intel processors. To teach them basic principles of the protected mode, programming in the protected mode and to use the low-level Win32 API. To introduce the 64-bit processors.
Description:
Protected mode of the Pentium based processors: protection principles, registers, memory management, instruction set. Techniques of programming in the protected mode, task management, virtual mode. Use of the low-level interface Win32 API in the Windows applications - console applications, windows based applications, OpenGL. Programming using the multimedial instruction sets of the Intel processors (MMX and SSE). Introduction to the 64-bit processors.
Knowledge and skills required for the course:
Basic knowledge of the assembly language of x86 processor family and C language is necessary. Student has to be able to work with the NASM.
Learning outcomes and competences:
Basic principles of the protected mode of the IA-32 architecture. Development of the applications using the MMX and SSE instructions. Development of the applications in the protected mode using the Win32 API at the lowest level.
Syllabus of lectures:
  1. OS Windows and assembler - general introduction.
  2. Development of applications in assembler for the OS Windows - console applications and DLL libraries.
  3. Development of applications in assembler for the OS Windows - window-based applications and OpenGL.
  4. Introduction to the instructions of the MMX extension.
  5. Applications of the MMX extension.
  6. Introduction to the instructions of the SSE technology.
  7. Applications of the SSE technology.
  8. Optimizations of the assembler code.
  9. Protected mode of the IA-32 processors - registers and instructions, memory models.
  10. Protected mode of the IA-32 processors - basic data structures, memory management.
  11. Protected mode of the IA-32 processors - principles of the data and code protection.
  12. Protected mode of the IA-32 processors - task management.
  13. 64-bit processors.
Syllabus of computer exercises:
  1. Development and use of the DLL libraries.
  2. Win32 API - console application.
  3. Win32 API - window-based application.
  4. Win32 API - applications using OpenGL.
  5. Application of the MMX extension.
  6. Application of the SSE technology.
  7. Code optimization.
Syllabus - others, projects and individual work of students:
  1. Individual project: development of a simple application in 32bit protected mode using Win32 API, MMX extension and/or SSE technology, OpenGL.
Fundamental literature:
  1. Hyde, R.: The Art of Assembly Language, No Strach, 2003, ISBN 1886411972
  2. Irvine, K.R.: Assembly Language for Intel-Based Computers, Prentice Hall, 2002, ISBN 0130910139
  3. Bistry, D.: The Complete Guide to MMX Technology, McGraw-Hill/TAB Electronics, 1997, ISBN 0070061920
  4. Abel, P.: IBM PC Assembly Language and Programming, Prentice-Hall, Inc., 1995, ISBN 0-13-317729-7
  5. Intel 64 and IA-32 Architectures Software Developer's Manuals [online]. Available at <www.intel.com>.
Study literature:
  1. Abel, P.: IBM PC Assembly Language and Programming, Prentice-Hall, Inc., 1995, ISBN 0-13-317729-7
  2. Hyde, R.: The Art of Assembly Language, No Strach, 2003, ISBN 1886411972
Controlled instruction:
Work in laboratory and evaluated project are monitored and given points for.
Progress assessment:
  1. Work in laboratory.
  2. Evaluated project.