CHAPTER 6

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

PROGRAM CONTRAL INSTRUCTIONS

1 / 58

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

59 Terms

1

PROGRAM CONTRAL INSTRUCTIONS

direct the flow of a program and allow the flow to Change.

New cards
2

JUMP (BMP)

The main program control instruction, allows the programmer to skip sections of a program and branch to any part of the memory for the next instruction.

New cards
3

CONDITIONAL JUMP

allows the programmer to make decisions based upon numerical tests.

New cards
4

FLAG BITS

The results. of numerical tests are held

New cards
5

short jump

near jump

- Far jump

THREE TYPES OF UNCONDITIONAL JUMP INSTRUCTIONS

New cards
6

SHORT JUMP

- is a 2 byte instruction that allows jumps or branches to memory location within +127 and -128 Following bytes from the address the jump.

New cards
7

NEAR JUMP

The 3 byte allows a branch or jump within ± 32k bytes from the instruction in the current code segment.

New cards
8

fAR JUMP

The s byte allows a jump to any memory location within the real memory system

New cards
9

INTRASEGMENT JUMPS

short and near jumps are often called

New cards
10

INTERSEGMENT JUMPS

Far jumps are often called

New cards
11

SHORT JUMP (2)

are called relative jumps

New cards
12

SHORT JUMP (2)

because they can be moved, along with their relative software, to any location in in the current code segment without change.

New cards
13

SHORT JUMP DISPLACEMENT

- is a distance represented by a 1-byte signed numbers whose value ranges between +127 and -128

New cards
14

LABEL

a symbolic name for a memory address

New cards
15

NEAR JUMP

similar to the short jump, except that the distance is Farther

New cards
16

NEAR JUMP

it passes control to an instruction in the current code segment located within 132K bytes jump instructions,

New cards
17

EXTERNAL LABELS

appears in programs that contain more then one program file

New cards
18

INDIRECT JUMP

it can also use as as, 16 or 32 bit register as an operaand This will automatically as

New cards
19

CONDITIONAL JUMP

are always short jump in the 8086 through the microprocessor.

New cards
20

sign

-carry

-overflow

-parrity

CONDITIONAL FLAG BITS

New cards
21

Jg

JGE

-JE

- JL

-JLE

- JNE

SIONED NUMBERS ARE COMPARED

( greater than less than)

New cards
22

JA

- JAB

- JE

JB

- JBE

-JNE

UNSIGNEDC ABOVE & BELOW)

New cards
23

CONDITIONAL GET INSTRUCTIONS

Addition to the conditional jump instructions.

New cards
24

LOOP

is a combination OF a decrement ex and JNZ conditional jump.

New cards
25

WHILE

used with a condition to begin the loop

New cards
26

ENDW

ends the loop

New cards
27

REPEAT UNTIL CONSTRUCT

A series of instructions is repeated until some condition occurs.

New cards
28

REPEAT

defines the start Of the loop

New cards
29

UNTIL CX2 instruction

available that uses the Loop instructions

to check CX For a repeat loop.

New cards
30

UNTIL CX2 instruction

used to add the contents of byte-sized array ONE to byte size ARRAY TWO

New cards
31

PROCEDURE (subroutine, method, or function

is an important part of any computer system's architecture

New cards
32

PROCEDURE (subroutine, method, or function

is a group of instructions that usually performs one task

New cards
33

PROCEDURE (subroutine, method, or function

-is a reusable section of the software that is stored in memory once,

New cards
34

CALL Instructions

-it pushes the address of the instruction following the return address on the stack

New cards
35

PROC DIRECTIVES

The procedure begin with this

New cards
36

END DIRECTIVES

END DIRECTIVES

New cards
37

NEAR Or FAR

The PROC directive is followed by the type of procedure.

New cards
38

USES STATEMENT

allows any number of registers to be automatically pushed to the stack and popped from the stack within the procedure

New cards
39

NEAR RETURN

removes a 16 bit number from the stack and places into the instruction pointer to return from the procedure in the curent code segment.

New cards
40

fAR RETURN

removes a 32 bit number from the stack and places it into both Ip and CS to return from the procedure to any memory location

New cards
41

HARDWARE-GENERATED CALL

externally derived from a hardware signal

New cards
42

SOFTWARE -GENERATED CALL

internally derived From the execution OF on instruction or by some other internal event.

New cards
43

EXCEPtion

an internal interrupt is called

New cards
44

INTERUPT VECTOR

is a 4 byte number stored in the first 1024 bytes of the memory when the microprocessor operates in the real mode

New cards
45

INT, INTO, INT3

The microprocessor has 3 different interrupt instructions that are available to the program.

New cards
46

INTS (Interrupt instructions

INTS (Interrupt instructions

New cards
47

IRET/IRETD Interrupt return instructions)

is used only with software or hard ware interrupt service procedure

New cards
48

INT 3

is a interrupt special software interuppt designed to Function as a breakpoint.

New cards
49

BREAKPOINT

occurs For any software interuppt.

helps to debug Faulty soptare

New cards
50

INTO (Interrupt on overflow)

is a conditional soptware interrupt that tests the overflow.

New cards
51

INTO (Interrupt on overflow)

appears in software that adds or subtract Signed binary number.

New cards
52

sET INTERRUPT FLAG CLEAR INTERRUPT

These instructions. control the INTR pin

New cards
53

SET INTERRUPT FLAG (STI

places a 1 into the Flag I Flag bit, which enables the INTR pin.

New cards
54

•CLEAR INTERRUPT FLAG (CLI)

places a O into the Iflag bit, which disables the INTR pin

New cards
55

MACHINE CONTROL and MISCELLANEOUS

These instructions provide control of the carry bit.

New cards
56

STC (set carry), cic (clear (arry), CMC (complement carry)

3 instructions control the contents of the carry Flag.

New cards
57

by an interrupt

- by a hardware reset

during a DMA operation

3 WAYS TO EXIT A HALT

New cards
58

NOPC No operation)

often used to pad soptware with space For future machine language

New cards
59

BOUND

is a comparison instruction that may cause an interrupt.

New cards

Explore top notes

note Note
studied byStudied by 36 people
... ago
5.0(2)
note Note
studied byStudied by 11 people
... ago
5.0(1)
note Note
studied byStudied by 221 people
... ago
5.0(1)
note Note
studied byStudied by 89 people
... ago
5.0(4)
note Note
studied byStudied by 16 people
... ago
5.0(1)
note Note
studied byStudied by 7 people
... ago
5.0(1)
note Note
studied byStudied by 27 people
... ago
5.0(2)
note Note
studied byStudied by 1272 people
... ago
5.0(11)

Explore top flashcards

flashcards Flashcard (125)
studied byStudied by 78 people
... ago
5.0(2)
flashcards Flashcard (53)
studied byStudied by 38 people
... ago
5.0(2)
flashcards Flashcard (81)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (52)
studied byStudied by 3167 people
... ago
4.4(35)
flashcards Flashcard (34)
studied byStudied by 18 people
... ago
5.0(1)
flashcards Flashcard (26)
studied byStudied by 29 people
... ago
5.0(1)
flashcards Flashcard (77)
studied byStudied by 14 people
... ago
5.0(1)
flashcards Flashcard (44)
studied byStudied by 9 people
... ago
5.0(2)
robot