Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
It also allows you to save this file into the disk for later use. The
assembler and loader program require the inputs to be saved files
!" #c $
%% from the disk. A text editor can be any popular work processor or edit
program that can be produce pure text. As a standard
convention, program written in assembly language are usually given
&'#() the filename with an extension of . This is also the default
#c#c filename extension that searches.
$%
#*+, A program written in assembly language is translated to machine
code by an assembler. Assembler and the corresponding assembly
1. to be able to learn the basics of turbo assembler. language mnemonics are generally limited to use with one particular
2. To properly assemble and link a program using tasm and tlink. microprocessor, which limits their portability, or use on other
3. To be able to create an assembly language program using turbo machines. Today¶s assembler do much more than translate
assembler with SK as editor. assembly language mnemonics into binary code.
2
-#c Before the microprocessor can execute any machine instruction, it
must first be loaded into memory accessible to it. The loader is the
1 personal computer program that actually takes the machine instructions (object code)
1 system disk and places it in memory at the specified starting address for
1 data disk execution. Loaders range from the very simple to the very complex.
( Asembler ± '
( Loader - #c.'
( Editor - .
1. Write the following program using SK¶s notepad as your text
##c editor. Assign the filename exer2.asm
6. Execute the program by simple typing the filename on the prompt. r. Which files are created in linking process?
What is the output of the given program?
7. Modify exer2.asm. The output should be: 9. What is the purpose of /t in linking process?
Y
r. Write down the modify program on the space below. 10. Compare the use of DEBUG and TURBO ASSEMBLER in
assembly language programming.
9. Copy the program to your data disk.
They are almost the same but in tasm we can directly put the
character even if it is not in hexadecimal just inclose it with single
'# quote symbol.
1. Write down the required program output from your instructor.
11. What is the purpose of org 100h in your program?
3. Ask your instructor to check your work, then copy it to your data
disk.
_______________________________
&3c #c