Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (689 KB)
General-Purpose InstructionsThe general-purpose instructions perform basic data movement, memory addressing, arithmetic and logical operations, program flow control, input/output, and string operations on integer, pointer, and BCD data types. Data Transfer InstructionsThe data transfer instructions move data between memory and the general-purpose and segment registers, and perform operations such as conditional moves, stack access, and data conversion. Table 3–1 Data Transfer Instructions
Binary Arithmetic InstructionsThe binary arithmetic instructions perform basic integer computions on operands in memory or the general-purpose registers. Table 3–2 Binary Arithmetic Instructions
Decimal Arithmetic InstructionsThe decimal arithmetic instructions perform decimal arithmetic on binary coded decimal (BCD) data. Table 3–3 Decimal Arithmetic Instructions
Logical InstructionsThe logical instructions perform basic logical operations on their operands. Table 3–4 Logical Instructions
Shift and Rotate InstructionsThe shift and rotate instructions shift and rotate the bits in their operands. Table 3–5 Shift and Rotate Instructions
Bit and Byte InstructionsThe bit instructions test and modify individual bits in operands. The byte instructions set the value of a byte operand to indicate the status of flags in the %eflags register. Table 3–6 Bit and Byte Instructions
Control Transfer InstructionsThe control transfer instructions control the flow of program execution. Table 3–7 Control Transfer Instructions
String InstructionsThe string instructions operate on strings of bytes. Operations include storing strings in memory, loading strings from memory, comparing strings, and scanning strings for substrings. Note – The Solaris mnemonics for certain instructions differ slightly from the Intel/AMD mnemonics. Alphabetization of the table below is by the Solaris mnemonic. All string operations default to long (doubleword). Table 3–8 String Instructions
I/O InstructionsThe input/output instructions transfer data between the processor's I/O ports, registers, and memory. Table 3–9 I/O Instructions
Flag Control (EFLAG) InstructionsThe status flag control instructions operate on the bits in the %eflags register. Table 3–10 Flag Control Instructions
Segment Register InstructionsThe segment register instructions load far pointers (segment addresses) into the segment registers. Table 3–11 Segment Register Instructions
Miscellaneous InstructionsThe instructions documented in this section provide a number of useful functions. Table 3–12 Miscellaneous Instructions
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||