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
Q

Requires that all software and data fit into one 64K-byte memory segment, useful for many small programs

A

tiny (model)

26
Q

Requires that only one data segment be used with one code segment, for a total of 128K-bytes of memory.

A

small (model)

27
Q

A specific derivative that returns to DOS but error code is not defined.

28
Q

A specific derivative that returns to DOS with an error code 0.

29
Q

A specific directive that temporarily suspends execution of the main program.

A

interrupts

30
Q

An interrupt that generated by changing the logic levels of either the processor’s hardware interrupt inputs.

A

External Hardware Interrupts

31
Q

An interrupt that cannot be ignored by the CPU.

A

Nonmaskable interrupt (NMI)

32
Q

An interrupt that can be enabled or disabled by the state of the interrupt.

A

interrupt request (INTR/IRQ)

33
Q

An interrupt that is generated directly by an executing program

A

Internal software interrupts (exceptions)

34
Q

These are instructions executed during the normal program flow.

A

INT
INTO (Interrupt on Overflow)

35
Q

It happens when division by zero is detected in the execution unit

36
Q

The lowest priority interrupt.

A

single-step

37
Q

The highest priority interrupt.

A

Divide by zero (Divide - error)

38
Q

Interrupt Priority

A

Divide - error
INT, INTO
NMI
INTR
single-step

39
Q

A dedicated table in memory used for storage of their interrupt service routine (ISR) starting address.

A

Interrupt Vector Table

40
Q

In protected mode, an _____________________ that uses 8-byte descriptors to describe each of the interrupts replaces the vector table.

A

interrupt descriptor table

41
Q

A program that tells the processor what to do when the interrupt occurs.

A

Interrupt service request