Microprocessors Dictionary

Terms used in the course, each with a short definition and the chapter where it is explained. The chapter column links to that chapter's lecture notes. Instruction, register, and pin names (MOV, AX, ALE, and so on) are used as they are.

TermDefinitionChapter
above / belowThe outcomes of an unsigned comparison (JA, JB).7 · Flow Control
access timeThe time from when a memory chip receives an address until it places the data on its output; if it is long, wait states are needed.10.1 · 8086 Pins
accumulatorThe register AX, used as the implicit operand and result register in arithmetic operations.2.2 · 8086 Registers
active low / active highA signal that performs its function at logic 0 (about 0 V) or at logic 1 (about +5 V); an active-low signal is written with a prime (RD').10.1 · 8086 Pins
address busThe one-way bus that carries the memory or I/O address the processor wants to access; 20 bits wide in the 8086.2.1 · 8086 Architecture
address decoderA gate circuit that examines the address-bus bits and enables (through CS') only the device in its own address range.10.2 · Device Control
address latch enable (ALE)A processor signal (pin 25) that tells the address latches when to capture the address on the AD pins.10.1 · 8086 Pins
addressing modeThe way an instruction specifies where its operand is located (register, inside the instruction, or memory).4.1 · Memory Access
aligned / unaligned accessAccessing a word at an even address (one bus cycle) or at an odd address (two bus cycles).10.1 · 8086 Pins
arithmetic instructionInstructions that perform addition, subtraction, multiplication, and division.6 · Arithmetic, Logic and Shift Instructions
arithmetic logic unit (ALU)The unit that performs arithmetic and logical operations such as addition, subtraction, AND, and OR.2.1 · 8086 Architecture
arrayElements of the same type placed consecutively in memory.4.2 · Variables
array processorA processor in which a single control unit broadcasts the same instruction to many processing elements, each working on data in its own local memory (SIMD).1.1 · Introduction
ASCIIThe standard that assigns codes from 0 to 127 to characters; for example, 'A' = 41h.5.2 · Interrupt Functions
assemblerA program that translates assembly source code into machine code (MASM, NASM, emu8086, and so on).3.2 · Assembly Language
assembly languageA low-level, processor-specific language in which machine instructions are written with mnemonics.3.1 · Programming Languages
attribute byteIn text mode, the byte that specifies a character's foreground and background colors.5.2 · Interrupt Functions
auxiliary carry flag (AF)A flag that shows a carry out of or a borrow into the low nibble (from bit 3 to bit 4); used in BCD adjustment.2.2 · 8086 Registers
backward compatibilityThe principle that a new processor must run programs written for its predecessors without modification.2.1 · 8086 Architecture
base (radix)The number of distinct digits used in a number system (2, 8, 10, 16).1.2 · Number Systems
base pointer (BP)The register used to access parameters and local variables in a stack frame.2.2 · 8086 Registers
base registerBX or BP, which holds the base part of the address in indirect addressing.2.2 · 8086 Registers
based / indexed addressingModes in which the effective address is the sum of a base or index register and a displacement.4.1 · Memory Access
BCD (binary-coded decimal)An encoding in which each decimal digit is stored in its own 4-bit group.1.2 · Number Systems
BCD adjustmentThe operation that converts the result of a binary addition or subtraction into valid BCD (DAA, AAA, and so on).6 · Arithmetic, Logic and Shift Instructions
biased exponentThe exponent stored in IEEE 754 after adding a fixed value to the true exponent (127 in single precision), so that exponents can be written as unsigned numbers.1.2 · Number Systems
binaryThe base-2 number system made up of the digits 0 and 1; written with the suffix b.1.2 · Number Systems
BIOSThe basic input/output routines in the motherboard ROM that drive the hardware directly.5.2 · Interrupt Functions
BIOS data areaThe memory region at segment 0040h where the BIOS keeps device status.5.2 · Interrupt Functions
bitThe single digit of the binary system: 0 or 1.1.2 · Number Systems
bit set/reset (BSR)A control word of the 8255 with D7 = 0 that sets or clears a single bit of port C without writing the whole port.10.2 · Device Control
borrowThe value taken from the next higher digit in a subtraction; shown by CF in the 8086.1.2 · Number Systems
branchAny instruction that transfers program flow to an address other than the next instruction (JMP, Jcc, CALL, RET, INT).2.1 · 8086 Architecture
branch predictionGuessing in advance whether a branch will be taken so that the pipeline stays full.1.1 · Introduction
breakpoint (INT 3)The one-byte INT 3 (CCh) that a debugger writes over the first byte of an instruction; the program stops when it reaches it.5.1 · Interrupts
buffer (bus transceiver)A circuit that strengthens the signals on the bus and sets their direction (8286).10.1 · 8086 Pins
buffer overflowWriting more bytes than were allocated to a buffer, which silently corrupts the variables behind it; assembly has no mechanism that checks array bounds.9.2 · The emu8086.inc Library
busA group of parallel lines that carries address, data, and control information between units.2.1 · 8086 Architecture
bus contentionA near short-circuit current that flows when one driver pulls a line to 1 and another pulls it to 0; sustained contention overheats and damages the chips.10.1 · 8086 Pins
bus controllerThe chip that generates the control signals in maximum mode (8288).10.1 · 8086 Pins
bus cycleOne memory or I/O read or write operation; at least four T states (T1 to T4) in the 8086.10.1 · 8086 Pins
bus interface unit (BIU)The unit of the 8086 that performs instruction fetching, address calculation, and bus operations.2.1 · 8086 Architecture
bus masterA device that can drive the system bus and start a bus cycle, such as the 8086 or the 8237 DMA controller.10.1 · 8086 Pins
bus turnaroundThe moment on a bidirectional line when the driver changes; this is why the AD pins float in T2 of a read cycle.10.1 · 8086 Pins
byteA data unit made up of 8 bits.1.2 · Number Systems
bytecode / intermediate language (IL)The processor-independent instructions produced by Java and C# compilers, called bytecode in Java and IL in C#, which a virtual machine executes.3.1 · Programming Languages
cacheA small, fast memory that keeps frequently used data close to the processor.1.1 · Introduction
calling conventionThe rule that determines how parameters are passed, where the return value is placed, and who cleans up the stack (for example, stdcall).3.1 · Programming Languages
carryThe part of a digit's sum that is passed to the next higher digit.1.2 · Number Systems
carry flag (CF)A flag that shows a carry out of or a borrow into the most significant bit in an unsigned operation.2.2 · 8086 Registers
central processing unit (CPU)The unit that fetches, decodes, and executes instructions; it consists of registers, the ALU, and a control unit.1.1 · Introduction
chipThe semiconductor piece on which an integrated circuit is fabricated.1.1 · Introduction
CISCA processor design that offers many complex, variable-length instructions.1.1 · Introduction
clock cycleOne period of the clock signal; also called a T state in the 8086.1.1 · Introduction
clock generatorThe chip (8284A) that supplies the CLK, READY, and RESET signals to the 8086.10.1 · 8086 Pins
clock signalThe square wave that synchronizes all of the processor's operations.1.1 · Introduction
clock speed (frequency)The number of clock cycles per second, measured in hertz.1.1 · Introduction
code / data / stack / extra segmentThe four active segments pointed to by the CS, DS, SS, and ES registers.2.1 · 8086 Architecture
.COM programA DOS program of at most 64 KB that runs in a single segment and begins with ORG 100h.3.2 · Assembly Language
commentAn explanation written after a semicolon that the assembler ignores.3.2 · Assembly Language
comparison (CMP)The operation that subtracts two operands and sets only the flags.7 · Flow Control
compilerA program that translates the whole high-level source code into machine code at once.3.1 · Programming Languages
conditional assemblyUsing directives such as IF, IFB, ELSE, and ENDIF to choose at assembly time whether a section of source is included in the code.9.1 · Macros
constant (EQU)A name that takes up no memory and is substituted at assembly time.4.2 · Variables
control busThe bus that carries control signals such as read, write, and memory/IO selection.2.1 · 8086 Architecture
control characterA character that is not displayed but controls the cursor or printer (CR, LF, BS, BEL).5.2 · Interrupt Functions
control flagThe flags TF, IF, and DF, which determine the processor's behavior and are set by the programmer.2.2 · 8086 Registers
control signalA signal that governs operations such as read, write, and memory/IO selection.1.1 · Introduction
control unit (CU)The unit that decodes instructions and generates the control signals that tell the other units what to do and when.1.1 · Introduction
control word (8255)The byte that sets the mode and direction of the ports of the 8255 PPI.10.2 · Device Control
counter registerThe register CX, used as the counter in LOOP, REP, and shift instructions.2.2 · 8086 Registers
cursorThe position on the screen where the next character will be written.9.2 · The emu8086.inc Library
cycles per instruction (CPI)The average number of clock cycles an instruction takes to complete.1.1 · Introduction
data busThe bus that carries data in both directions between the processor and memory or I/O; 16 bits wide in the 8086.2.1 · 8086 Architecture
data definition (DB / DW / DD)Directives that reserve a byte, a word, or a double word in memory.4.2 · Variables
data transfer instructionInstructions that copy data among registers, memory, the stack, and I/O (MOV, XCHG, PUSH, and so on).11 · Instruction Encoding and String Instructions
data type specifier (byte ptr / word ptr)A qualifier that states whether a memory operand is a byte or a word.4.1 · Memory Access
decimalThe number system with base 10; numbers without a suffix in assembly are decimal.1.2 · Number Systems
default segmentThe segment used for a memory access when there is no segment prefix (for example, SS for BP).2.1 · 8086 Architecture
demultiplexingObtaining a separate address bus and a separate data bus from the 8086's multiplexed bus, using address latches and transceivers.10.1 · 8086 Pins
digitEach digit position in a number; its value is the digit times the base raised to the position.1.2 · Number Systems
digital signal processor (DSP)A processor specialized for signal-processing operations such as multiply-accumulate.1.1 · Introduction
DIP (dual in-line package)An integrated-circuit package with two rows of pins; the 8086 is made as a 40-pin DIP.10.1 · 8086 Pins
direct addressingThe mode in which the offset of the memory operand is given in the instruction as a constant.4.1 · Memory Access
direction flag (DF)A flag that determines whether SI and DI increase (0) or decrease (1) in string instructions.2.2 · 8086 Registers
directiveA statement that produces no machine code but gives information to the assembler (ORG, DB, PROC, END, and so on).4.2 · Variables
displacementAn 8- or 16-bit signed constant inside the instruction (d8/d16), added in the effective address calculation.4.1 · Memory Access
display multiplexingLighting displays one at a time in rapid succession so that the common lines are shared.10.2 · Device Control
divide errorThe type 0 interrupt generated by the processor when the divisor of DIV or IDIV is zero or the quotient does not fit in the destination register.5.1 · Interrupts
dividend / divisor / quotient / remainderThe elements of a division operation.6 · Arithmetic, Logic and Shift Instructions
DLL (dynamic-link library)A library file in Windows through which operating-system services are provided as functions that a program calls with call.3.1 · Programming Languages
DMA (direct memory access)The transfer of data between a device and memory without going through the processor; requested with HOLD/HLDA.10.1 · 8086 Pins
double wordA 32-bit (4-byte) data unit; defined with DD.4.2 · Variables
duty cycleThe fraction of a clock period during which the signal stays high; 33% for the 8086.10.1 · 8086 Pins
effective address (EA)The offset computed as base + index + displacement.4.1 · Memory Access
emulatorA program that imitates a processor in software; emu8086 is an 8086 emulator.3.2 · Assembly Language
encoder / decoderA circuit or program that converts information from one code to another.3.1 · Programming Languages
end of interrupt (EOI)The command that tells the 8259A that an ISR has finished.5.1 · Interrupts
end-around carryIn one's-complement addition, adding the carry out of the most significant bit back into the least significant bit of the result.1.2 · Number Systems
exceptionAn interrupt generated by the processor itself (for example, division by zero, INT 0).5.1 · Interrupts
exchange (XCHG)Swapping the contents of two operands.4.1 · Memory Access
executable fileThe file produced by linking that can be loaded and run directly (.COM, .EXE).3.1 · Programming Languages
execution unit (EU)The unit of the 8086 that decodes and executes instructions; it contains the ALU and the general registers.2.1 · 8086 Architecture
far pointerA 4-byte address that holds an offset and a segment together; in memory the offset is stored first, then the segment (LDS, LES).11 · Instruction Encoding and String Instructions
fetch / decode / executeThe stages of getting an instruction from memory, determining what to do, and carrying it out.1.1 · Introduction
fixed-point numberA binary number whose radix point is at a predetermined position.1.2 · Number Systems
flagA one-bit indicator that shows the result of an operation or the behavior of the processor.2.2 · 8086 Registers
flags register (FLAGS)The 16-bit register that holds the status and control flags.2.2 · 8086 Registers
flip-flopThe basic memory circuit that stores one bit and changes state on a clock edge.1.2 · Number Systems
floating-point number (IEEE 754)A format made up of a sign, an exponent, and a fraction that stores decimal values approximately.1.2 · Number Systems
floating-point unit (FPU)The processor unit that performs arithmetic on floating-point numbers; a separate 8087 chip in the 8086 system.1.1 · Introduction
flow controlChanging the order in which instructions execute by means of jumps and loops.7 · Flow Control
forward referenceA reference to a label before its definition; assemblers solve this by reading the source twice.3.1 · Programming Languages
full adderA circuit that adds two bits and an incoming carry and produces a sum bit and a carry out.1.2 · Number Systems
general-purpose registerThe registers AX, BX, CX, DX (and SP, BP, SI, DI), which can be used freely for data and addresses.2.2 · 8086 Registers
ghostingA faint trace that the new code leaves on the previous digit in multiplexed scanning if all digits are not blanked before the digit is changed.10.2 · Device Control
graphics processing unit (GPU)A processor that uses many parallel cores for image and vector computations.1.1 · Introduction
Gray codeA code in which only one bit changes between successive values.1.2 · Number Systems
greater / lessThe outcomes of a signed comparison (JG, JL).7 · Flow Control
ground bounceVoltage bounces at ground level caused by the inductance of the ground connection when outputs switch at the same time; the 8086's two GND pins reduce them.10.1 · 8086 Pins
handshakingCoordinating a data transfer between a device and the processor with ready/busy bits.10.2 · Device Control
hardware / software interruptA hardware interrupt started by a device through INTR/NMI, or a software interrupt started by the program with the INT instruction.5.1 · Interrupts
hexadecimalThe base-16 number system made up of the digits 0-9 and A-F; written with the suffix h.1.2 · Number Systems
high / low byteThe upper 8 bits (AH) and lower 8 bits (AL) of a 16-bit value.2.2 · 8086 Registers
high-level / low-level languageLanguages that are hardware-independent and readable, versus languages that are close to the hardware.3.1 · Programming Languages
I/O portAn address belonging to a device, accessed with the IN and OUT instructions.10.2 · Device Control
idle state (Ti)Clock cycles in which the processor does not use the bus; for example, when the queue is full and the executing instruction does not access memory.10.1 · 8086 Pins
immediate addressingThe addressing mode in which the operand's value is given inside the instruction.4.1 · Memory Access
immediate valueAn operand that is present as a constant inside the instruction; it cannot be loaded directly into a segment register.2.2 · 8086 Registers
implementationThe concrete form of a language as a compiler or interpreter; being compiled or interpreted is a property of the implementation, not of the language.3.1 · Programming Languages
implicit operandAn operand that is used without being written in the instruction (for example, AX in MUL).3.2 · Assembly Language
in-service register (ISR)The 8259A register that marks the IRQ currently being served; the bit stays 1 until the EOI arrives.5.1 · Interrupts
index registerThe registers SI and DI, which hold positions in array and string access.2.2 · 8086 Registers
initial valueThe value given to a variable when it is defined.4.2 · Variables
instructionA single machine operation executed by the processor; corresponds to one line in assembly.3.2 · Assembly Language
instruction cycleThe fetch-decode-execute steps that the processor repeats for every instruction.1.1 · Introduction
instruction decoderThe circuit that translates machine code into control signals and micro-operations.2.1 · 8086 Architecture
instruction formatThe layout of the fields of a machine instruction (opcode, ModR/M, displacement, immediate data).11 · Instruction Encoding and String Instructions
instruction pointer (IP)The 8086 register that holds the offset of the next instruction within the code segment.2.1 · 8086 Architecture
instruction registerAn internal register that temporarily holds the instruction being decoded.2.1 · 8086 Architecture
instruction setAll the instructions a processor can execute.11 · Instruction Encoding and String Instructions
instruction set architecture (ISA)The contract between software and hardware that covers not only the instructions but also the registers, addressing modes, data types, and how instructions are encoded in memory.1.1 · Introduction
integrated circuit (IC)A circuit in which many transistors are fabricated on a single semiconductor chip.1.1 · Introduction
interpreterA program that reads the source code line by line and executes it.3.1 · Programming Languages
interruptAn event that makes the processor leave its current work and run a special routine.5.1 · Interrupts
interrupt acknowledge (INTA)The bus cycles in which the processor accepts an INTR request and reads the interrupt type.10.1 · 8086 Pins
interrupt acknowledge cycleThe two consecutive cycles the processor runs when INTR = 1 and IF = 1; similar to a read cycle, but INTA' is asserted instead of RD' and the address bus floats.10.1 · 8086 Pins
interrupt flag (IF)A flag that determines whether maskable hardware interrupts are accepted.2.2 · 8086 Registers
interrupt latencyThe time between the arrival of an interrupt request and the start of the first instruction of the ISR.5.1 · Interrupts
interrupt mask register (IMR)An 8259A register with one bit per IRQ; if a bit is 1, requests from that line are not passed to the processor (port 21h on the PC).5.1 · Interrupts
interrupt request register (IRR)An 8259A register that holds requests that have arrived but have not yet been served.5.1 · Interrupts
interrupt service routine (ISR)The routine that runs when an interrupt occurs and ends with IRET.5.1 · Interrupts
interrupt vectorThe address (IP and CS) of the service routine for an interrupt type.5.1 · Interrupts
interrupt vector table (IVT)The table in the first 1 KB of memory that holds a 4-byte CS:IP address for each interrupt type.5.1 · Interrupts
intrasegment / intersegment jumpA jump that changes only IP (short and near) versus a jump that also changes CS and moves to another segment (far).7 · Flow Control
jumpContinuing execution from a different address (JMP, Jcc).7 · Flow Control
jump displacementThe signed difference between the jump target and the address of the instruction after the jump.7 · Flow Control
just-in-time (JIT) compilationTranslating the frequently executed parts of intermediate code into machine code while the program runs, and storing the result.3.1 · Programming Languages
keyboard bufferA circular buffer in the BIOS data area that holds the ASCII and scan codes of the keys pressed.5.2 · Interrupt Functions
labelA name given to an address and used as the target of a jump or call.7 · Flow Control
latchA circuit that captures the address on the ALE pulse and holds it for the duration of the bus cycle (8282/74LS373).10.1 · 8086 Pins
libraryA file that contains ready-made macros and procedures, added with INCLUDE.9.2 · The emu8086.inc Library
LIFO (last in, first out)The order in which the most recently added item is removed first.8.1 · The Stack
linkerA program that combines object files and libraries to produce an executable file.3.1 · Programming Languages
listing fileThe assembler output that shows the address and machine code of each source line.3.1 · Programming Languages
little-endian / big-endianThe ordering in which the low byte or the high byte of a multibyte value is written to the lower address; the 8086 is little-endian.1.2 · Number Systems
loaderThe part of the operating system that places an executable file in memory and runs it.3.1 · Programming Languages
LOCAL directiveA directive that replaces labels inside a macro with unique names at each expansion.9.1 · Macros
local variableA variable that lives on the stack only while the procedure is running.8.2 · Procedures
location counter ($)The counter in which the assembler keeps the offset where the next byte will be placed; read in the source as $.4.2 · Variables
logical / arithmetic shiftRight shifts that put 0 into the vacated bit and that preserve the sign bit (SHR / SAR).6 · Arithmetic, Logic and Shift Instructions
logical instructionInstructions that perform bitwise AND, OR, XOR, NOT, and TEST operations.6 · Arithmetic, Logic and Shift Instructions
loopRepeating a group of instructions until a condition is met (LOOP, CX).7 · Flow Control
machine codeThe binary bytes of a program that the processor executes, usually shown in hexadecimal.3.1 · Programming Languages
machine languageThe instructions made of 0s and 1s that the processor runs directly.3.1 · Programming Languages
macroA code pattern defined with MACRO/ENDM whose body is written in place at every use.9.1 · Macros
macro expansionThe assembler's replacement of a macro call with its body, with the parameters substituted.9.1 · Macros
maskable / non-maskable interrupt (INTR / NMI)Hardware interrupts that can be blocked by the IF flag and those that cannot.10.1 · 8086 Pins
maskingUsing AND/OR/XOR to clear, set, or toggle selected bits of a value.6 · Arithmetic, Logic and Shift Instructions
memoryThe unit in which programs and data are stored, addressed byte by byte.4.1 · Memory Access
memory bankThe two 512 KB halves of 8086 memory, one with even addresses and one with odd addresses.10.1 · 8086 Pins
memory hierarchyThe layers of memory from the register to the disk, from fast and small to slow and large.1.1 · Introduction
micro-operation (µop)A simple RISC-like operation into which x86 processors internally translate complex instructions and execute in the pipeline.1.1 · Introduction
microcodeThe microprogram stored in the control unit that translates complex instructions into internal steps.2.1 · 8086 Architecture
microcontroller (MCU)A control-oriented processor that has RAM, Flash, and I/O units on the same chip together with the CPU.1.1 · Introduction
microprocessorAn integrated circuit that implements the central processing unit of a computer on a single chip.1.1 · Introduction
minimum / maximum modeThe operating modes, selected by the MN/MX' pin, in which the 8086 generates its own control signals or the 8288 generates them.10.1 · 8086 Pins
MIPS (million instructions per second)The number of instructions executed per second (f / CPI), expressed in millions.1.1 · Introduction
mnemonicA short name that represents a machine instruction (MOV, ADD, JMP, and so on).3.2 · Assembly Language
ModR/M byteThe byte in instruction encoding, made up of the MOD, REG, and R/M fields, that specifies the operands and the addressing mode.11 · Instruction Encoding and String Instructions
most / least significant bit (MSB / LSB)The leftmost and rightmost bits of a number.1.2 · Number Systems
multicoreAn arrangement in which several tasks truly run at the same time; to speed up a single program, it must be split into threads.1.1 · Introduction
multiplexingThe same pins carrying an address and data at different times (AD0-AD15).10.1 · 8086 Pins
multiplication / divisionThe operation of the MUL/IMUL and DIV/IDIV instructions; the result is in AX or DX:AX.6 · Arithmetic, Logic and Shift Instructions
nested loopA loop contained in the body of another loop.7 · Flow Control
nibbleA group of 4 bits; corresponds to one hexadecimal digit or one BCD digit.1.2 · Number Systems
noise marginThe margin between the output and input voltage thresholds (0.4 V in TTL); the receiver reads the bit value correctly even if this much noise is added to the signal.1.2 · Number Systems
null-terminated stringA string that ends with a byte whose value is 0 after its characters and whose length is not stored separately (C strings work this way too).9.2 · The emu8086.inc Library
object fileA file of machine code produced by an assembler or compiler that has not yet been linked.3.1 · Programming Languages
octalThe base-8 number system made up of the digits 0-7.1.2 · Number Systems
offsetThe distance of the desired byte from the beginning of its segment (0000h-FFFFh). The OFFSET operator keeps its name.2.1 · 8086 Architecture
OFFSET operatorAn assembler operator that gives the offset of a variable at assembly time.4.2 · Variables
one's complementThe representation obtained by inverting all the bits; produced by the NOT instruction.1.2 · Number Systems
opcodeThe part of a machine instruction that specifies which operation is to be performed.11 · Instruction Encoding and String Instructions
operandThe value, register, or memory location on which an instruction operates.3.2 · Assembly Language
operating systemThe basic software that manages the hardware and shares memory and devices among programs; applications reach it through system calls.3.1 · Programming Languages
out-of-order executionExecuting an instruction whose operands are ready without waiting for an earlier instruction that is still waiting for its result; results are still committed in program order.1.1 · Introduction
overflowA result that is too large or too small to be represented in the allocated number of bits.1.2 · Number Systems
overflow flag (OF)A flag that shows that the result of a signed operation does not fit in the range of the destination.2.2 · 8086 Registers
packed / unpacked BCDFormats that store two or one BCD digits in a byte.6 · Arithmetic, Logic and Shift Instructions
paragraph (16 bytes)The 16-byte memory boundary at which segments can begin.2.1 · 8086 Architecture
parameter passingGiving values to a procedure through registers, memory, or the stack.8.2 · Procedures
parity flag (PF)A flag that is 1 when the low byte of the result has an even number of 1 bits.2.2 · 8086 Registers
pass by value / by referencePassing a parameter by giving the procedure a copy of the data or the address of the data; with an address, the procedure can change the original variable.8.2 · Procedures
peripheralA device connected to the processor through I/O (keyboard, display, printer, and so on).10.2 · Device Control
physical addressThe real 20-bit address obtained as segment x 10h + offset.2.1 · 8086 Architecture
pinEach of the terminals through which a chip connects to the outside world; the 8086 has 40 pins.10.1 · 8086 Pins
pipelineAn arrangement in which different stages of consecutive instructions are processed at the same time.1.1 · Introduction
pipeline stallA pipeline sitting idle for a cycle because of a dependency or a branch.1.1 · Introduction
pixelThe smallest dot on a graphics screen; in mode 13h each pixel is one byte.5.2 · Interrupt Functions
pointer registerThe registers SP and BP, which point to a location in the stack.2.2 · 8086 Registers
pointer variableA variable that stores the address of another variable (p DW array).4.2 · Variables
pollingThe processor continually asking a device for its status in a loop.5.1 · Interrupts
port-mapped / memory-mapped I/OAccessing devices through a separate I/O address space or through memory addresses.10.2 · Device Control
positional number systemA number system in which the value of a digit is determined by the position it occupies.1.2 · Number Systems
prefetchFetching instruction bytes from memory and queuing them before they are executed.2.1 · 8086 Architecture
prefetch queueThe 6-byte buffer in which the BIU fetches and holds the next instruction bytes in advance.2.1 · 8086 Architecture
prefixA byte added in front of an instruction that changes its behavior (segment, REP, LOCK).11 · Instruction Encoding and String Instructions
principle of localityThe tendency of programs to access the same data again within a short time (temporal) and data at nearby addresses one after another (spatial).1.1 · Introduction
procedure (subroutine)A block of code defined with PROC/ENDP, called with CALL, and returned from with RET.8.2 · Procedures
procedure callPushing the return address onto the stack with CALL and jumping to the procedure.8.2 · Procedures
processor control instructionInstructions that set or clear flags and halt the processor (CLC, STI, HLT, NOP, and so on).11 · Instruction Encoding and String Instructions
program counter (PC)The register that holds the address of the next instruction; in the 8086, IP performs this role.1.1 · Introduction
program terminationThe program giving control back to DOS (INT 21h/4Ch, RET).5.2 · Interrupt Functions
programmable interrupt controller (8259A)The chip that puts hardware interrupt requests in priority order and passes them to the processor.5.1 · Interrupts
programmable peripheral interface (8255 PPI)A programmable chip that provides three 8-bit I/O ports.10.2 · Device Control
protected modeThe operating mode introduced with the 80286, with memory protection and privilege levels.1.1 · Introduction
PSP (program segment prefix)The 256-byte header that DOS places in front of every program.5.2 · Interrupt Functions
push / popWriting a word after decreasing SP by 2, and reading a word and then increasing SP by 2.8.1 · The Stack
real modeThe mode in which x86 processors run with 20-bit segmented addressing, like the 8086.2.1 · 8086 Architecture
real-time clock (RTC)A circuit that keeps time as BCD and keeps running even when the computer is off.5.2 · Interrupt Functions
recursionA procedure calling itself directly or indirectly; each level keeps its own return address on the stack.8.2 · Procedures
reentrantA routine that works correctly even if it is called again before it finishes (for example, by an interrupt); DOS is not reentrant.5.1 · Interrupts
registerA very fast, small memory cell inside the processor.2.2 · 8086 Registers
register addressingThe addressing mode in which the operand is in a register.4.1 · Memory Access
register indirect addressingThe mode in which the memory address is in the BX, BP, SI, or DI register.4.1 · Memory Access
register preservationA procedure saving the registers it modifies with PUSH and restoring them with POP.8.2 · Procedures
register setAll the registers that a processor offers to the programmer; 14 registers in the 8086.2.1 · 8086 Architecture
relative addressingThe mode in which the target is given as a signed distance from the address of the next instruction (jumps).4.1 · Memory Access
relocation tableA list in the EXE header of the locations of segment values that the loader fixes according to the segment into which the program is loaded.5.2 · Interrupt Functions
repeat block (REPT / IRP / IRPC)An unnamed macro that rewrites its body at assembly time a given number of times or for each item in a list.9.1 · Macros
repeat prefix (REP)A prefix that makes a string instruction repeat CX times or until a condition fails.11 · Instruction Encoding and String Instructions
resetThe signal that returns the processor to its initial state; CS = FFFFh and IP = 0000h.10.1 · 8086 Pins
return addressThe address of the instruction after the CALL; taken from the stack with RET.8.2 · Procedures
ripple-carry adderA multibit adder built by chaining full adders, in which the carry propagates in order from the lowest bit to the highest.1.2 · Number Systems
RISCA processor design that works with a small number of fixed-length, simple instructions.1.1 · Introduction
rotateA shift in which the bit that leaves re-enters at the other end (ROL, ROR, RCL, RCR).6 · Arithmetic, Logic and Shift Instructions
routineA piece of code that performs a specific task and is run by calling it (BIOS/DOS routines).5.2 · Interrupt Functions
row-major orderStoring the elements of a matrix consecutively row by row: address = start + row x number of columns + column.4.1 · Memory Access
scalar processorA processor that handles a single data item per instruction.1.1 · Introduction
scan codeA code that shows the physical position of the key pressed on the keyboard.5.2 · Interrupt Functions
segmentA block of the 8086 memory, starting on a 16-byte boundary, of at most 64 KB.2.1 · 8086 Architecture
segment (display)Each of the LED parts of a seven-segment display (not to be confused with a memory segment).10.2 · Device Control
segment override prefixA prefix byte added to the front of an instruction that changes the default segment.4.1 · Memory Access
segment registerThe registers CS, DS, SS, and ES, which hold the start of the active segments.2.1 · 8086 Architecture
segment:offset (logical address)A notation that gives a memory location with two 16-bit values.2.1 · 8086 Architecture
segmentationAddressing memory by dividing it into segments.2.1 · 8086 Architecture
segmented memoryA memory organization in which every address is given as a segment and offset pair.2.1 · 8086 Architecture
semaphoreA shared memory flag that shows whether a common resource is free (0) or busy (1); tested and set indivisibly with LOCK XCHG.10.1 · 8086 Pins
service (BIOS / DOS)A sub-function of an interrupt selected by the number in AH (for example, INT 21h/09h).5.2 · Interrupt Functions
seven-segment displayA display that shows digits with seven LED segments.10.2 · Device Control
shiftShifting bits left or right (SHL, SHR, SAR); 0 or the sign bit enters the vacated bits.6 · Arithmetic, Logic and Shift Instructions
short / near / far jumpJumps made with an 8-bit distance, with a 16-bit distance within the same segment, and to another segment.11 · Instruction Encoding and String Instructions
sign / exponent / fraction (mantissa)The three fields of an IEEE 754 number.1.2 · Number Systems
sign bitThe most significant bit of a signed number; if it is 1, the number is negative.1.2 · Number Systems
sign extensionMoving a signed value to a wider register by copying the sign bit (CBW, CWD).6 · Arithmetic, Logic and Shift Instructions
sign flag (SF)A flag that copies the most significant bit (the sign) of the result.2.2 · 8086 Registers
sign-magnitudeA representation in which the top bit gives the sign and the remaining bits give the absolute value.1.2 · Number Systems
signed / unsigned numberA number interpretation that can take negative values versus one that takes only zero and positive values.1.2 · Number Systems
SIMDA way of processing in which one instruction is applied to many data elements at the same time.1.1 · Introduction
single-stepStopping the program after every instruction so that it can be examined.2.2 · 8086 Registers
softwareThe set of instructions and data that makes hardware work in the desired way.3.1 · Programming Languages
software delayWaiting by means of a loop that consumes a certain number of clock cycles.10.2 · Device Control
source codeThe program text written by the programmer in a form humans can read.3.1 · Programming Languages
source index (SI) / destination index (DI)The index registers that point to the source and destination locations in string instructions.2.2 · 8086 Registers
speculative executionExecuting instructions on the predicted branch path before the result is known; if the prediction is wrong, the results are discarded.1.1 · Introduction
stackThe memory region that works in last-in, first-out (LIFO) order, addressed by SS:SP.8.1 · The Stack
stack frameThe block formed by the parameters, return address, and local variables of a procedure call; accessed through BP.8.2 · Procedures
stack machineA machine model that takes its operands from the stack instead of from registers and puts the result on the stack; JVM and CLR intermediate code follow this model.3.1 · Programming Languages
stack overflow / underflowThe stack exceeding its allocated area, or a POP being performed when the stack is empty.8.1 · The Stack
stack pointer (SP)The register that holds the offset of the topmost item of the stack.2.2 · 8086 Registers
stack segment (SS)The segment register that points to the stack's segment in memory, and that memory region; together with SP it determines the top of the stack.8.1 · The Stack
status code (S2' S1' S0')A three-bit code given by the pins S2', S1', S0' in maximum mode that tells the type of bus cycle; decoded by the 8288.10.1 · 8086 Pins
status flagThe flags CF, PF, AF, ZF, SF, and OF, which the processor itself sets according to the result of an operation.2.2 · 8086 Registers
stepper motorA motor that turns step by step when its magnet coils are driven in sequence.10.2 · Device Control
stringText made up of consecutive characters in memory.9.2 · The emu8086.inc Library
string instructionInstructions that operate on consecutive memory elements through DS:SI and ES:DI (MOVS, CMPS, SCAS, LODS, STOS).11 · Instruction Encoding and String Instructions
suffix (h, b, o)An addition that shows the base of a number; for example, 1Ah, 1010b.1.2 · Number Systems
superscalar processorA scalar processor that starts more than one instruction in a clock cycle using several pipelines or execution units (the first in x86 was the Pentium).1.1 · Introduction
symbol tableThe table in which the assembler maps label, variable, and constant names to their addresses or values; filled in during the first pass.3.1 · Programming Languages
syntax (Intel / AT&T)The writing rules of assembly lines; operand order and prefixes vary with the syntax.3.1 · Programming Languages
syntax error / logic errorAn error caught by the assembler versus an error that makes the program assemble but produce a wrong result.3.2 · Assembly Language
system busThe set of address, data, and control buses that connects the CPU, memory, and I/O devices.2.1 · 8086 Architecture
system callA special call by which a program requests a service from the operating system (int 80h / syscall in Linux).3.1 · Programming Languages
system on chip (SoC)The combination of CPU, GPU, NPU, memory controller, and I/O on a single chip (phone processors, the Apple M series).1.1 · Introduction
T stateEach of the clock cycles that make up a bus cycle.10.1 · 8086 Pins
top of stackThe only item in the stack that was added last and can be accessed.8.1 · The Stack
transistorThe basic semiconductor element of digital circuits, which works as a switch or an amplifier.1.1 · Introduction
translation table (XLAT)The instruction and its table that replace AL with the entry in the table pointed to by BX.11 · Instruction Encoding and String Instructions
trap flag (TF)A flag that, when 1, generates INT 1 after every instruction so that the program runs one step at a time.2.2 · 8086 Registers
tri-state output / high impedanceAn output that can enter a third state, in addition to 0 and 1, in which it does not drive the line at all (floats); in that state another driver can use the line.10.1 · 8086 Pins
two's complementRepresenting a negative number by inverting the bits and adding 1; produced by the NEG instruction.1.2 · Number Systems
unconditional / conditional jumpA jump that is always taken versus one taken only when the flags satisfy a condition.7 · Flow Control
variableA data area in memory bound to a name whose value can change.4.2 · Variables
vector processorA processor that operates on a whole vector of data with one instruction.1.1 · Introduction
video memory (text mode)The memory that starts at segment B800h and holds an ASCII byte and an attribute byte for each character.4.1 · Memory Access
video modeThe text or graphics resolution of the screen; selected with INT 10h/00h.5.2 · Interrupt Functions
virtual machine (VM)A program that interprets intermediate code or translates it to real machine code with a JIT compiler (JVM, CLR).3.1 · Programming Languages
virtualizationRunning several operating systems (virtual machines) in isolation from one another on the same hardware; VT-x on Intel, AMD-V on AMD.1.1 · Introduction
wait state (Tw)An extra clock cycle added to the bus cycle by the READY signal for slow memory.10.1 · 8086 Pins
wordA 16-bit (2-byte) data unit in the 8086.1.2 · Number Systems
word length (bit width)The number of bits of the word that the processor can handle at once.1.1 · Introduction
zero flag (ZF)A flag that is 1 when the result is zero.2.2 · 8086 Registers

Course page: Microprocessors · © Sercan Külcü. All rights reserved.