Introduction to Assembly Language – Intel 8086

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/45

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key Intel 8086 assembly language concepts, registers, addressing modes, directives, and flags.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

46 Terms

1
New cards

Assembly Language (AL)

A low-level programming language whose statements map one-to-one to the CPU’s machine instructions.

2
New cards

Assembler

A translation program that converts assembly language source code into executable machine code.

3
New cards

Machine Instruction

Binary code understood directly by the CPU, telling it to perform a specific operation.

4
New cards

Instruction Set

The complete collection of machine instructions available for a particular CPU model.

5
New cards

Opcode

The portion of a machine or assembly instruction that specifies the operation to perform.

6
New cards

Mnemonic

A short alphabetic code (e.g., MOV, ADD) that represents an opcode in human-readable form.

7
New cards

Operand

The data item(s) on which an instruction acts; may be a register, memory location, or immediate value.

8
New cards

Immediate Operand

A constant value embedded directly within the instruction itself.

9
New cards

Register Operand

An operand located in a CPU register.

10
New cards

Memory Operand

An operand located at a specific address in main memory.

11
New cards

Addressing Mode

A method used by an instruction to specify the location of its operands.

12
New cards

Immediate Addressing Mode

The operand is a literal constant within the instruction (e.g., MOV AL,25h).

13
New cards

Register Addressing Mode

Transfers data between CPU registers of the same size (e.g., MOV AX,DX).

14
New cards

Memory Addressing Mode

Accesses an operand stored in main memory using either a direct or indirect address.

15
New cards

Direct Addressing Mode

The effective memory address is given explicitly in the instruction (e.g., MOV AL,[2000h]).

16
New cards

Indirect Addressing Mode

The memory address is held in a base or index register, optionally combined (e.g., MOV AL,[BX]).

17
New cards

Register (CPU)

A high-speed 16- or 8-bit storage location inside the CPU used by nearly every instruction.

18
New cards

General-Purpose Register

One of AX, BX, CX, DX; can be used for arithmetic, data movement, and addressing.

19
New cards

Accumulator Register (AX)

Favored for arithmetic, I/O, and part of the word-size MUL/DIV pair with DX.

20
New cards

Base Register (BX)

Supports arithmetic, data moves, and can hold a memory base address.

21
New cards

Counter Register (CX)

Automatically decremented by LOOP and shift/rotate instructions; acts as a loop counter.

22
New cards

Data Register (DX)

Works with AX for word-sized multiplication and division; also used in I/O operations.

23
New cards

Stack Pointer (SP)

Special register that holds the offset of the current top of the stack.

24
New cards

Base Pointer (BP)

Holds a reference point within the stack for accessing parameters or local variables.

25
New cards

Source Index (SI)

Contains the memory offset of source data for string and block operations.

26
New cards

Destination Index (DI)

Contains the memory offset of destination data for string and block operations.

27
New cards

Segment Register

One of CS, DS, ES, SS; holds the selector (base) of a 64 KB segment in memory.

28
New cards

Code Segment Register (CS)

Points to the segment containing the currently executing instructions.

29
New cards

Data Segment Register (DS)

Points to the segment where most program data variables reside.

30
New cards

Extra Segment Register (ES)

Provides an additional data segment, often used with string operations.

31
New cards

Stack Segment Register (SS)

Points to the segment that contains the runtime stack.

32
New cards

Status Register (FLAGS)

A collection of 1-bit flags that record processor state and arithmetic results.

33
New cards

Instruction Pointer (IP / PC)

Holds the offset of the next instruction to be executed within the code segment.

34
New cards

Carry Flag (CF)

Set when an arithmetic operation generates a carry or borrow out of the most significant bit.

35
New cards

Parity Flag (PF)

Indicates whether the number of set bits in the least-significant byte of the result is even.

36
New cards

Sign Flag (SF)

Reflects the sign (most significant bit) of the result; 1 for negative, 0 for positive.

37
New cards

Zero Flag (ZF)

Set when the result of an operation is zero.

38
New cards

Overflow Flag (OF)

Indicates signed arithmetic overflow occurred.

39
New cards

Auxiliary Carry Flag (AF)

Set when a carry occurs between bit 3 and bit 4 (BCD arithmetic support).

40
New cards

DB Directive

Define Byte; reserves 1-byte variables and may optionally initialize them.

41
New cards

DW Directive

Define Word; reserves 2-byte (16-bit) variables and may optionally initialize them.

42
New cards

DD Directive

Define Doubleword; reserves 4-byte (32-bit) variables with optional initial values.

43
New cards

DQ Directive

Define Quadword; allocates 8-byte (64-bit) storage, typically for large integers or reals.

44
New cards

DT Directive

Define Tenbyte; allocates 10-byte storage, often for extended-precision floating numbers.

45
New cards

DUP Operator

Allocates multiple copies of a value (e.g., DB 20 DUP(0) reserves twenty zero bytes).

46
New cards

Reversed Storage Format

When storing a word or doubleword, the assembler places the low byte at the lowest address (little-endian).