
- •1)Features of the Assembler. The main programs for work with the Assembler.
- •2) Data presentation in the computer. Binary and hexadecimal notations. Bits, bytes and words.
- •3)Main unprivileged commands. Data transfer.
- •4) Ways of addressing.
- •5) Dynamic libraries. Principles of using dynamic libraries.
- •6) Dynamic library structure.
- •7) File systems. Characteristics of files.
- •8) Numbers with a floating comma. Data types of fpu.
- •9) Work with the keyboard. The data buffer bios. Using ms dos function.
- •10) Base arithmetic fpu.
- •11)Comparison commands of fpu
- •12)Transcendental operations of fpu
- •Constants of fpu
- •16. Object modules.
- •17. Directive extern.
- •18) Directives call and invoke.
- •19) Use of libraries. Directive includelib.
- •20) Placement of data in external modules. Translation by tasm means.
- •21) Translation by masm means.
- •22) Directives of memory distribution. Pseudocommands of variable definitions.
- •23. Structures in the assembler
- •24. Program organization. Segments
- •25. Models of memory and the simplified directives of segment definition. Order of loading segments.
- •26. Procedures in the assembler
- •27. Programming bases in the Windows operating system
- •28. Call of the api functions from the program written on the assembler
- •29. Structure of the program written for Windows.
- •30. The general principles of creation of window applications in the Assembler
- •31. Directives of management of the program counter.
- •32. Global declarations.
- •33. Conditional assembling. Expressions
- •34. Attributes of the file. Temporary characteristics. File length.
- •35. File fat32 system. Catalogue structure. Fat table.
- •36. File ntfs system. Principles of construction.
- •37. Attributes of the records mft. Catalogues in ntfs.
- •38. Macrodefinitions. Blocks of repetitions. Macrooperators.
- •39. Management of files. Management of listing. Comments.
- •40) Virtual drivers and virtual Windows engines.
- •41) Modes of the user and kernel.
- •42) Types of Windows drivers.
- •44) Graphic video modes.
- •45) Work with a mouse.
- •46. System timer.
- •47. Services. Dispatcher of management of services.
- •49. Structure of the program which is writing down the driver in the system register.
- •50. Structure of the driver of the kernel mode.
- •1.Features of the Assembler. The main programs for work with the Assembler.
16. Object modules.
• Entry point table
– List of symbols defined in module.
– Can be referenced by other modules.
– Name plus address.
• External reference table
– List of symbols referenced by the module.
– Are defined in other modules.
– Name plus machine instructions that use this symbol.
• Relocation dictionary
– List of addresses in program that need to be relocated.
Most linkers use two passes of table building and module relocation.
Scheme
of object module :
Address Spaces :Each object module has its own address space.
–
Starts
at address 0.
17. Directive extern.
.extern is accepted in the source program--for compatibility with other assemblers--but it is ignored. treats all undefined symbols as external.Directives are used to identify the same characters in the various program modules using a source module to obtain the final executable program. The format of the directives: extern <list of characters> Example: extern z public k, x1, I The directive extern z means that the symbol z is not determined in this software module and will be determined in another software module, which will be combined with this arrangement. Symbol, announced the directive extern, can also be defined in the command file layout. Broadcaster postpone its calculation to komponovki. Directive public k, x1, i mean that the symbols k, x1, i, the value of which is determined in a given software module will also be used in others. Broadcaster remember their value in the output object module to be used for configuration (otherwise after assigning values to the compiler "forgets" characters).The following is the text of the program, which uses these guidelines.
extern z public k, x1, I x equ 1 +2 t equ Z +3 k equ +7 I equ -7 x1 equ 10 x5 equ t +1 Y equ x1 * t X2 equ z * t X3 equ 5 / z As seen from the example program, unspecified code can be used in expression, but this expression 5 / z cause an error message for transmission (division by 0), since in the general case z may be 0. Therefore, these expressions are not available.