๐—–๐—ต๐—ฎ๐—ฝ๐˜๐—ฒ๐—ฟ ๐Ÿฒ: Program Control Instructions Flashcards

1
Q

Allows the programmer to skip sections of a program and branch to any part of the memory for the next instruction.

A

Jump

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

Allows the programmer to make decisions based upon numeric tests

A

Conditional Jump

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

Is a 2-byte instruction that allows jumps or branches to memory locations within +127 and โ€“128 bytes from the address following the jump.

A

Short Jump

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

a 3-byte instruction that allows a branch or jump within ยฑ32K bytes (or anywhere in the current code segment) from the instruction in the current code segment.

A

Near Jump

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

A 5-byte instruction that allows a jump to any memory location within the real memory system

A

Far Jump

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

Short and near jumps are often called as __________ jumps.

A

Intrasegment

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

Far jumps are often called as __________ jumps.

A

Intersegment

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

are called relative jumps because they can be moved, along with
their related software, to any location in the current code segment without a change

A

Short Jump

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

also called displacement, follows the opcode

A

distance

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

A symbolic name for a memory address

A

Label

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

Is similar to the short jump, except that the distance is farther

A

Near Jump

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

in 0200 R, the letter R denotes -

A

Relocatable Jump Address

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

Obtains a new segment and offset address to accomplish the jump

A

Far Jump

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

Another way to obtain a far jump is to define a label as a ______

A

Far Label

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

Appear in programs that contain more than one program file

A

External Labels

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

This symbol defines a label as global

A

double colon (LABEL::)

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

The address of the
jump is in the register specified by the jump instruction.

A

Indirect Jump

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

indirect jump
indirect jump

A

double-indirect jump

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

Instructions that set a byte to either 01H or clear a byte to 00H, depending on the outcome of the condition under test

A

Conditional Set

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

is a combination of a decrement CX and the JNZ conditional jump

A

Loop

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

.command

A

dot commands

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

Directive that causes all assembler generated statements to be listed, including the label @Startup generated by the .STARTUP
directive

A

.LISTALL

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

is used with a condition to begin the loop, and the .ENDW statement ends the loop

A

.WHILE statement

24
Q

is often followed by the .IF statement to select the break
condition

25
Can be used to allow the DOโ€“.WHILE loop to continue if a certain condition is met
.CONTINUE
26
A series of instructions is repeated until some condition occurs
REPEAT-UNTIL
27
is a group of instructions that usually performs one task
Procedure
28
is a reusable section of the software that is stored in memory once, but used as often as necessary
Procedure
29
instruction that links to the procedure
CALL
30
instruction that return from the procedure
RET
31
pushes the address of the instruction
CALL
32
removes an address from the stack so the program returns to the instruction following the CALL.
RET
33
transfers the flow of the program to the procedure
CALL
34
is like a far jump because it can call a procedure stored in any memory location in the system
Far Call
35
removes a 16-bit number
Near return
36
removes a 32-bit number
Far Return
37
is either a hardware-generated CALL or a software-generated CALL
Interrupt
38
externally derived from a hardware signal
hardware-generated CALL
39
internally derived from the execution of an instruction or by some other internal event
software-generated CALL
40
is a 4-byte number stored in the first 1024 bytes of the memory when the microprocessor operates in the real mode
Interrupt Vector
41
How many different interrupt vectors
256
42
At times, an internal interrupt is called a/n __________
exception
43
Either type interrupts the program by calling a/n ________
interrupt service procedure (ISP)
44
Is used only with software or hardware interrupt service procedures
Interrupt Return (IRET)
45
is a special software interrupt designed to function as a breakpoint
INT 3
46
is a conditional software interrupt that tests the overflow flag
INTO
47
Places a 1 into the I flag bit, which enables the INTR pin
Set Interrupt Flag (STI)
48
Places a 0 into the I flag bit, which disables the INTR pin.
Clear Interrupt Flag
49
Propagates the carry or borrow in multiple-word/doubleword addition and subtraction
Carry Flag
50
Monitors the hardware BUSY pin on the 80286 and 80386, and the TEST pin on the 8086/8088
WAIT
51
Stops the execution of software
Halt (HLT)
52
When the microprocessor encounters this instruction, it takes a short time to execute
No Operation (NOP)
53
appends an instruction and causes the LOCK pin to become a logic 0
Lock Prefix
54
passes instructions to the floating-point coprocessor from the microprocessor
Escape (ESC)
55
first made available in the 80186 microprocessor, is a comparison instruction that may cause an interrupt
BOUND
56
first made available to the 80186 microprocessor, are used with stack frames, which are mechanisms used to pass parameters to a procedure through the stack memory
ENTER and LEAVE