Module 3 DCO
Module 3 DCO
• Data transfer instructions are used to move data from one location to another
without altering its content.
• Common data transfers include:
• Between memory and processor registers.
• Between processor registers and input/output devices.
• Between processor registers themselves.
• Examples of data transfer instructions: LOAD, STOR, MOV, XCHG, IN, OUT,
PUSH, POP, etc.
Data Manipulation Instructions
• Data manipulation instructions are used to perform operations on data, enabling
the computer's computational capabilities.
• These instructions are categorized into:
• Arithmetic Instructions: Perform mathematical operations like addition, subtraction,
multiplication, and division.
• Logical and Bit Manipulation Instructions: Handle logical operations (AND, OR, NOT, XOR)
and manipulate individual bits.
• Shift Instructions: Shift data bits left or right within a register.
Arithmetic Instructions
• Arithmetic instructions perform basic mathematical operations such as
addition, subtraction, multiplication, and division.
• Most computers support all four operations.
• Smaller computers may only include addition and subtraction
instructions, requiring multiplication and division to be implemented
using repeated addition or other instructions.
• Examples of arithmetic instructions: ADD, SUB, MUL, DIV, INC, DEC,
ADDC, SUBB, etc.