Experiment 2

Share Embed Donate


Short Description

Download Experiment 2...

Description

3. Go to the DOS prompt and then assemble the program by using the command below: H:\cpo101l>tasm exer2.asm 4. If there are warnings and errors in assembling process go back to the source code and fix those errors. If no error occur proceed to the next step.

6. What are those files?

5. Link the program by using the command :C :\ >tlink/t exer2  7. Which files are created in assembling process? There should be no BAD OBJECT FILE message in the linking process, if bad object file occur assemble the program once again. 6. Execute the program by simple typing the filename on the prompt. What is the output of the given program?

8.

Which files are created in linking process?

7. Modify exer2.asm. The output should be:

9. What is the purpose of /t in linking process?



E  D 8.

Write down the modify program on the space below.

9. Copy the program to your data disk.

EXERCISES: 1.

Write down the required program output from your instructor.

2.

Encode the program.

3.

Ask your instructor to check your work, then copy it to your data disk.

4.

Compare the actions of ESC and CTRL+ALT when moving from SK to DOS.

5.

How many files are created in using turbo assembler?  _______________________________ 

10. Compare the use of DEBUG and TURBO ASSEMBLER in assembly language programming. 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.

11. What is the purpose of org 100h in your program?

SUMMARY & CONCLUSION:

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF