
PROGRAMMING CONCEPTS–I 2-25
9. What exactly does the .EXIT statement do?
10. List the rules regarding labels that can be used in MASM.
EXERCISES
1. Using the tiny model, write a program that does the following.
a) Moves 1020H to AX, 056H to BL and C76H to CX.
b) Copies the content of AX to DS, the content of BH to AH, and the content of CX
to DX.
2. Write a program to copy 25 to AL, ‘S’ to BL and ‘*’ to CL. Then move these to AH, BH
and CH, respectively.
3. Using the small model, store the bytes 56H and FCH, and words 0978H and CFD4H
in the data segment.
4. Store three bytes and four words in the data segment. Copy one byte and ...