| Title: | Assembly Languages |
|---|
| Code: | IAS |
|---|
| Ac.Year: | 2012/2013 |
|---|
| Term: | Winter |
|---|
| Study plans: | |
|---|
| Language: | Czech |
|---|
| Private info: | http://www.fit.vutbr.cz/study/courses/IAS/private/ |
|---|
| Credits: | 6 |
|---|
| Completion: | accreditation+exam (written) |
|---|
Type of instruction: | | Hour/sem | Lectures | Sem. Exercises | Lab. exercises | Comp. exercises | Other |
|---|
| Hours: | 39 | 0 | 0 | 13 | 0 |
|---|
| | Examination | Tests | Exercises | Laboratories | Other |
|---|
| Points: | 60 | 20 | 20 | 0 | 0 |
|---|
|
|---|
| Guarantee: | Zbořil František V., doc. Ing., CSc., DITS |
|---|
| Lecturer: | Drahanský Martin, doc. Ing., Dipl.-Ing., Ph.D., DITS Hanáček Petr, doc. Dr. Ing., DITS Orság Filip, Ing., Ph.D., DITS Zbořil František V., doc. Ing., CSc., DITS |
| Instructor: | Doležel Michal, Ing., DITS Charvát Lukáš, Ing., DITS Luža Radim, Ing., DITS Musil Martin, Ing., DCGM Musil Petr, Ing., DCGM Najman Pavel, Ing., DCGM Novotný Tomáš, Ing., DITS Samek Jan, Ing., Ph.D., DITS Szöllös Alexandr, Ing., DITS Žák Jakub, Ing., DITS |
|---|
| Faculty: | Faculty of Information Technology BUT |
|---|
| Department: | Department of Intelligent Systems FIT BUT |
|---|
| Substitute for: | |
|---|
| | | 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. | | Description: |
|---|
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. | | Knowledge and skills required for the course: |
|---|
None. | | 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. | | Syllabus of lectures: |
|---|
- Introduction, numerical systems, arithmetic.
- Machine code (language), assembly language, assembler.
- Real mode of Pentium processors: registers, operands, instruction formats, memory addressing, interrupts.
- Pentium processor instruction set. Integer instructions.
- Integer instructions, continuation.
- Integer instructions, continuation.
- Principles of programming in machine language, typical control constructions.
- Assembly language.
- Assembly language, continuation.
- Modules, libraries, operational system services. Procedures and functions, standard control transfer and passing of parameters.
- FPU of Pentium processors.
- FPU instruction set.
- FITkit.
| | Syllabus of computer exercises: |
|---|
- Principles of symbolic language programming.
- Simple programs in assembly language.
- NASM assembler and LINK linker.
- Operation system services. Programming of PC peripherals.
- Standard control transfer and passing of parameters in procedures and functions.
- Individual more complex programs.
- FPU programming.
| | Fundamental literature: |
|---|
- Intel Architecture Software Developer's Manual,Volume 2: Instruction Set Reference, https://www.fit.vutbr.cz/study/courses/IAS/private/24319102.pdf
- The Netwide Assembler: NASM, Quick reference Guide, 2012, http://www.nasm.us/xdoc/2.10.05/nasmdoc.pdf
| | 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
| | Progress assessment: |
|---|
- Mid-Term written test
- Evaluation of activity in computer exercises
| | Exam prerequisites: |
|---|
At least 15 points earned during semester. | | |
|