drei hdl midterm

84 flashcardsby Diandrei
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

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