Assembly Language Programming Flashcards
Is a predefined or reserved word
Operation
Symbolic operation code
Mnemonic
psuedo-operation code
directive
separates initial fields
space or tab
define data or reserve storage
pseudo-ops
represents an uninitialized storage location
?
can be associated with storage locations
Names
Any consecutive storage locations of the same size
Array
Allows a sequence of storage locations to be defined or reserved
DUP
Are symbols created to represent specific values determined by an expression
Named constants
is a group of instruction statements contained between segment and end directives
logical segment
Used to indicate the beginning of logical segment
Program Segment Structure
The start of this segment is where variable addresses are computed as offsets
Data Segment
Contains executable instructions
Code Segment
Used to set aside storage for the stack
Stack Segment
Tells the assembler which logical segment to use for each physical segment
ASSUME
informs the assembler to group the logical statement named in the directive into one logical group statement
Group
DOSSEG
Disk Operating System Segment
MASM
Microsoft Macro Assembler
To determine displacement of specified variable with respect to base of segment
Offset
Types of Assembly Instructions
Data Transfer
Arithmetic
Bit Manipulation
String Instructions
Program Execution
Processor Control
Interrupt Control
Is the way an operand is specified
Addressing mode
Used to override declared type of an address expression
PTR
A set of programs always present in system
System BIOS
Occurs when there is a carry out of msb
unsigned overflow
occurs on addition of numbers with same sign, when sum has a different sign
signed overflow
exchanges contents of two registers, or a register and a memory location
XCHG
finds the two’s complement of operand
NEG
instruction used to set specific destinations bits while preserving others
OR
instruction used to clear specific destination bits while preserving others
AND
instruction used to complement specific destinations bits while preserving others
XOR
performs one’s complement operation on destination
NOT
used to examine content of individual bits
TEST