1use DEBUG.EXE to create and trace assembly programs
Experiment 01
2shows or edits contents of registers
R Command
3accepts symbolic assembly instructions
A Command
4displays machine code for assembly instructions
U Command
5executes instructions one at a time with register display
T Command
6describe and use general-purpose registers
Experiment 02
7holds result of arithmetic operations, input/output
AX Register
8holds base address in memory or used for computations
BX Register
9controls loops, shifts, rotates, string byte counts
CX Register
10holds data, addresses, or high word of arithmetic result
DX Register
11adds register/value/memory contents
ADD Instruction
12transfers data between registers/memory/immediate
MOV Instruction
13use DEBUG to explore memory segmentation
Experiment 03
14starting address of program’s code segment
CS Register
15starting address of program’s data segment
DS Register
16starting address of program’s stack segment
SS Register
17starting address of extra segment for data
ES Register
18discuss behavior of flags and status register
Experiment 04
19indicates result too long for register
CF (Carry Flag)
20indicates even/odd parity of result
PF (Parity Flag)
21indicates carry into upper 4 bits
AF (Auxiliary Carry Flag)
22indicates result is zero
ZF (Zero Flag)
23indicates result is negative
SF (Sign Flag)
24enables/disables interrupts
IF (Interrupt Flag)
25controls string data transfer direction
DF (Direction Flag)
26indicates signed overflow occurred
OF (Overflow Flag)
27use EDIT, TASM, and TLINK to create and run programs
Experiment 05
28MS-DOS text editor for source code
EDIT.COM
29Borland assembler converting ASM → OBJ
TASM.EXE
30Borland linker converting OBJ → EXE/COM
TLINK.EXE
31display a single character using DOS interrupt
Experiment 06
32BIOS interrupt for screen handling
INT 10H
33DOS interrupt for input/output handling
INT 21H
34prints a single character (DL register)
INT 21H, Function 02H
35accept keyboard input using interrupts
Experiment 07
36accepts keyboard input with echo (AL stores char)
INT 21H, Function 01H
37accepts keyboard input without echo
INT 21H, Function 08H
38accept and display strings using interrupts
Experiment 09
39displays string terminated by “\\$”
INT 21H, Function 09H
40accepts buffered keyboard input (with param list)
INT 21H, Function 0AH
41extended screen display of string
INT 21H, Function 40H
42loads effective memory address of variable/string
LEA Instruction
43use DEBUG.EXE to create and trace assembly programs
Experiment 01
44shows or edits contents of registers
R Command
45accepts symbolic assembly instructions
A Command
46displays machine code for assembly instructions
U Command
47executes instructions one at a time with register display
T Command
48describe and use general-purpose registers
Experiment 02
49holds result of arithmetic operations, input/output
AX Register
50holds base address in memory or used for computations
BX Register
51controls loops, shifts, rotates, string byte counts
CX Register
52holds data, addresses, or high word of arithmetic result
DX Register
53adds register/value/memory contents
ADD Instruction
54transfers data between registers/memory/immediate
MOV Instruction
55use DEBUG to explore memory segmentation
Experiment 03
56starting address of program’s code segment
CS Register
57starting address of program’s data segment
DS Register
58starting address of program’s stack segment
SS Register
59starting address of extra segment for data
ES Register
60discuss behavior of flags and status register
Experiment 04
61indicates result too long for register
CF (Carry Flag)
62indicates even/odd parity of result
PF (Parity Flag)
63indicates carry into upper 4 bits
AF (Auxiliary Carry Flag)
64indicates result is zero
ZF (Zero Flag)
65indicates result is negative
SF (Sign Flag)
66enables/disables interrupts
IF (Interrupt Flag)
67controls string data transfer direction
DF (Direction Flag)
68indicates signed overflow occurred
OF (Overflow Flag)
69use EDIT, TASM, and TLINK to create and run programs
Experiment 05
70MS-DOS text editor for source code
EDIT.COM
71Borland assembler converting ASM → OBJ
TASM.EXE
72Borland linker converting OBJ → EXE/COM
TLINK.EXE
73display a single character using DOS interrupt
Experiment 06
74BIOS interrupt for screen handling
INT 10H
75DOS interrupt for input/output handling
INT 21H
76prints a single character (DL register)
INT 21H, Function 02H
77accept keyboard input using interrupts
Experiment 07
78accepts keyboard input with echo (AL stores char)
INT 21H, Function 01H
79accepts keyboard input without echo
INT 21H, Function 08H
80accept and display strings using interrupts
Experiment 09
81displays string terminated by “\\$”
INT 21H, Function 09H
82accepts buffered keyboard input (with param list)
INT 21H, Function 0AH
83extended screen display of string
INT 21H, Function 40H
84loads effective memory address of variable/string
LEA Instruction