chapter 5

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

ARITH METIC INSTRUCTIONS

1 / 53

encourage image

There's no tags or description

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

54 Terms

1

ARITH METIC INSTRUCTIONS

addition, subtraction, multiplication, division, comparison

New cards
2

AND

-NOT

TEST

-OR

-Shift

XOR

-Rotate

LOGIC INSTRUCTIONS

New cards
3

ADDITION

appears in many form of microprocessor

New cards
4

ADC INSTRUCTION

second form of addition

New cards
5

INCREMENT INSTRUCTION

is a special type of addition that adds 1 to a number

New cards
6

SEGMENT REGISTERS

can only be pushed moved, or popped.

New cards
7

REGISTER ADDITION

Whenever arithmetic and logic instruction. execute, the contents of the flag register change

New cards
8

IMMEDIATE ADDITION

is emplyod known whenever data are constant or added.

New cards
9

meMORY-TO-REGISTER ADDITION

requires data to be added to the AL register

New cards
10

ARRAY ADDITION

are sequential lists of data

New cards
11

INCREMENT ADDITION

Instructions aad 1 to any register. or memory location, except a segment register

New cards
12

ADDITION-WITH-CARRY

adds the bit in the carry Flag to the operand data.

New cards
13

ADDITION-WITH-CARRY

mainly appears in software that adds numbers that are wider than 16 bits

New cards
14

EXCHANGE AND ADD

appears in the 80486 instruction set and continues through the 8-core 2

New cards
15

EXCHANGE AND ADD

adds the source the destination and stores the sum in the destination.

New cards
16

SUBTRACTION (SUB)

Forms use any addresing mode 8, 16, 32

New cards
17

DECREMENT (DEC)

subtracts 1 From any registers or memory locations.

New cards
18

subTRACT WITH BORROW (SBB)

numbers that are wider than to 16 bits. 32 bits must occasionally be subtracted

New cards
19

subTRACT WITH BORROW (SBB)

Functions as a regular subtraction, except or 32 the carry)

New cards
20

REGISTER SUBTRACION

After modifies each subtraction, the microprocessor the contents of the Flag register

New cards
21

COMPARISON (CMP)

is a subtraction that changes the only Flag bits the destination operand never change

New cards
22

COMPARISON (CMP)

useful for checking the entire contents of a register or a memory location against another value

New cards
23

COMPARISON (CMP)

- is normally followed by a conditional jump instruction.

New cards
24

COMPARE and EXCHANGE CCMPX CH6)

compares the destination operand with the accumalator

New cards
25

COMPARE and EXCHANGE CCMPX CH6)

If they are equal, the source operand is copied into the destination.

New cards
26

PENTIUM-CORE 2

contain special circuitry that performs a multiplication in as little as one docking period

New cards
27

MULTIPLICATION

is performed on bytes, words, or and can be signed integer double words or unsigned integer.

New cards
28

8-BIT MULTIPLICATIOM

if the most significant 8 bits of the results are zero, both cand o Flag bits equal to zero

New cards
29

DIVIDEND

aways a double-width divided that is divided by the operand.

New cards
30

diVIDE OVERFLOW

occurs when a small number divides into a larger number

New cards
31

REMAINDER

could be used to round the quotient or just dropped to truncate the quotient.

New cards
32

DECIMAL ADJUST AFTER ADDITION CDAA)

DECIMAL ADJUST AFTER SUBTRACHON (DAS)

TWO INSTRUCTIONS CORRECT THE RESULTE OF BCD

New cards
33

DAA INSTRUCTION

Follows the ADD or ADC instruction to adjust the result in to a BCD result

New cards
34

aaa

aad

aam

aas

4 Instruction USED with Asll arithmetic

New cards
35

AAA INSTRUCTION

The addition of two bene-digit Asll coded number will not result in any useful data

New cards
36

AAD

appears before a division

New cards
37

AAM

Follows the multiplication instruction after multiplying two one-digit unpacked BCD numbers

New cards
38

aND INSTRUCTION

performs logical multiplication

New cards
39

MASKING

the task of clearing a bit in a binary number.

New cards
40

OR

performs logical addition culled the an is often Inclusive Or Function

New cards
41

TEST INSTRUCTION

-perfoms the AND operation.

New cards
42

TEST INSTRUCTION

only affects the condition of the Flag register, which indicates the resut of the test

New cards
43

NOT

-inverts all bits of double word a byte, word,

New cards
44

NEG

two is complements a number, which means that signed the number arithmetic sign of a changes

New cards
45

SHIFT

position or move numbers to the left or right within a register or memory location

New cards
46

ROTATE

position binary data by rotating the information in a register or memory location

New cards
47

ROTATE

often used to shift or position numbers that are wider the 16 bits

New cards
48

BIT SCAN

don't shift they do or rotate number, scan through a number searching for 1 bit

New cards
49
New cards
50
New cards
51
New cards
52
New cards
53
New cards
54
New cards

Explore top notes

note Note
studied byStudied by 7 people
... ago
5.0(1)
note Note
studied byStudied by 2 people
... ago
4.0(1)
note Note
studied byStudied by 5 people
... ago
5.0(1)
note Note
studied byStudied by 1 person
... ago
5.0(1)
note Note
studied byStudied by 13 people
... ago
5.0(1)
note Note
studied byStudied by 16 people
... ago
5.0(1)
note Note
studied byStudied by 16 people
... ago
5.0(1)
note Note
studied byStudied by 37 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (54)
studied byStudied by 26 people
... ago
4.5(2)
flashcards Flashcard (22)
studied byStudied by 10 people
... ago
5.0(1)
flashcards Flashcard (46)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (362)
studied byStudied by 42 people
... ago
5.0(4)
flashcards Flashcard (136)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (24)
studied byStudied by 16 people
... ago
5.0(1)
flashcards Flashcard (50)
studied byStudied by 67 people
... ago
4.0(1)
flashcards Flashcard (142)
studied byStudied by 1 person
... ago
5.0(1)
robot