Assembler Directives, Interrupts Flashcards

1
Q

It controls the assembly process.

A

assembler directives

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

It indicates how an operand or section of a program is to be processed by the assembler.

A

directives

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

These are designed to create the required data and perform all appropriate memory allocation and data formatting for little – endian values.

A

assembler directives

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

These are set of instructions to answer a specific problem.

A

program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A specific directive that can be used to assign a value to a constant variable.

A

define

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

indicates the start of the segment and its symbolic name

A

segment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

indicate the end of the segment

A

ends

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

used for memory reservation, the assembler stores a zero into locations specified by this

A

?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A specific directive that creates an array.

A

dup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A specific directive that repeats an expression a given number of times.

A

dup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A directive that forces the assembler to align the next segment at an address divisible by specified divisor.

A

align

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Used to start the data segment on word boundary

A

align 2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Used to start the data segment on doubleword boundary

A

align 4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A specific directive that is used to give a name to some value or symbol.

A

equ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

assign either a byte or a word address to a label

A

this

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A specific derivative that changes the starting offset address of the data in the data segment.

A

org

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

A specific directive that is similar to an alias of a segment.

18
Q

A specific directive that tells the assembler what names have been chosen for the segments.

19
Q

A specific directive that indicates the start of the procedure

20
Q

A specific directive that indicates the end of the procedure

21
Q

A procedure that resides in the same code segment as the program (local).

A

near (procedure)

22
Q

A procedure that may reside at any location in the memory system (global).

A

far (procedure)

23
Q

A specific directive that indicates which registers are used by the procedure.

24
Q

A specific derivative that initializes memory model before defining any segment

25
Requires that all software and data fit into one 64K-byte memory segment, useful for many small programs
tiny (model)
26
Requires that only one data segment be used with one code segment, for a total of 128K-bytes of memory.
small (model)
27
A specific derivative that returns to DOS but error code is not defined.
.exit
28
A specific derivative that returns to DOS with an error code 0.
.exit 0
29
A specific directive that temporarily suspends execution of the main program.
interrupts
30
An interrupt that generated by changing the logic levels of either the processor's hardware interrupt inputs.
External Hardware Interrupts
31
An interrupt that cannot be ignored by the CPU.
Nonmaskable interrupt (NMI)
32
An interrupt that can be enabled or disabled by the state of the interrupt.
interrupt request (INTR/IRQ)
33
An interrupt that is generated directly by an executing program
Internal software interrupts (exceptions)
34
These are instructions executed during the normal program flow.
INT INTO (Interrupt on Overflow)
35
It happens when division by zero is detected in the execution unit
DIV IDIV
36
The lowest priority interrupt.
single-step
37
The highest priority interrupt.
Divide by zero (Divide - error)
38
Interrupt Priority
Divide - error INT, INTO NMI INTR single-step
39
A dedicated table in memory used for storage of their interrupt service routine (ISR) starting address.
Interrupt Vector Table
40
In protected mode, an _____________________ that uses 8-byte descriptors to describe each of the interrupts replaces the vector table.
interrupt descriptor table
41
A program that tells the processor what to do when the interrupt occurs.
Interrupt service request