Chapter 6 Summary

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

Unconditional Jump Instructions

1 / 23

encourage image

There's no tags or description

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

24 Terms

1

Unconditional Jump Instructions

Short, near, and far jumps allow branching within different byte ranges. Short jump within +127 and -128 bytes, near jump within ±32K bytes, and far jump to any location in the memory system.

New cards
2

Label Field in JMP Instruction

Labels followed by a colon (LABEL:) in JMP instructions indicate the memory location to jump to.

New cards
3

Displacement in Jump Instructions

The distance from the next instruction to the jump location in short or near jumps.

New cards
4

Indirect Jumps

Jumping to the location stored in a register or memory word (near) / doubleword (far) location.

New cards
5

Conditional Jumps

Short jumps based on flag bits (C, Z, O, P, S) with a 16-bit signed displacement in 80386 and above.

New cards
6

Special Conditional Jump (LOOP)

CX decremented and jumps based on conditions like LOOPE, LOOPNE, LOOPZ, and LOOPNZ.

New cards
7

Conditional Set Instructions

Set or clear a byte based on a condition under test in 80386 through Core2.

New cards
8

.IF and .ENDIF Statements

Used in assembly language to generate conditional jump statements for decision-making.

New cards
9

.WHILE and .ENDW Statements

Allow the use of WHILE and REPEAT-UNTIL constructs in assembly language programs.

New cards
10

Procedures

Groups of instructions for a specific task, linked using CALL and returned from using RET instructions.

New cards
11

CALL Instruction

Combines PUSH and JMP, pushing return address and jumping to a procedure.

New cards
12

RET Instruction

Returns from a procedure by removing the return address from the stack.

New cards
13

Interrupts

Software or hardware signals calling procedures, interrupting the current program.

New cards
14

Real Mode Interrupt Vectors

4 bytes long, containing the address of interrupt service procedures.

New cards
15

Handling Interrupts

Flags pushed onto the stack, T and I flags cleared, and jump to interrupt service procedure.

New cards
16

Software Interrupts (INT)

Replace system calls, saving memory space.

New cards
17

IRET Instruction

Used to return from an interrupt service procedure, removing IP, CS, and flags from the stack.

New cards
18

INTO Instruction

Conditional interrupt based on the overflow flag (O).

New cards
19

Interrupt Enable Flag (I)

Controls the INTR pin connection, set by STI and cleared by CLI instructions.

New cards
20

Carry Flag (C)

Controlled by CLC, STC, and CMC instructions.

New cards
21

WAIT Instruction

Tests BUSY or pin, waiting until it becomes logic 1.

New cards
22

LOCK Prefix

Sets the pin to logic 0 during the locked instruction.

New cards
23

BOUND Instruction

Compares register contents with memory boundaries, causing a type 5 interrupt if not within bounds.

New cards
24

ENTER and LEAVE Instructions

Used with stack frames to pass parameters and manage local memory variables.

New cards

Explore top notes

note Note
studied byStudied by 29 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 3 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 109 people
Updated ... ago
4.7 Stars(3)
note Note
studied byStudied by 23 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 10 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)

Explore top flashcards

flashcards Flashcard22 terms
studied byStudied by 23 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard20 terms
studied byStudied by 3 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard48 terms
studied byStudied by 71 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard404 terms
studied byStudied by 26 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard25 terms
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard98 terms
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard46 terms
studied byStudied by 11 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard310 terms
studied byStudied by 74 people
Updated ... ago
5.0 Stars(1)