You are on page 1of 11

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/328492038

Data Transfer and Manipulation

Presentation · October 2018

CITATIONS READS

0 12,763

1 author:

Subarna Shakya
Tribhuvan University
166 PUBLICATIONS   671 CITATIONS   

SEE PROFILE

Some of the authors of this publication are also working on these related projects:

PhD Thesis View project

Digital Diplomacy Prospective in Digital Nepal View project

All content following this page was uploaded by Subarna Shakya on 24 October 2018.

The user has requested enhancement of the downloaded file.


Data Transfer and Manipulation

Dr. Shakya
Data Transfer and Manipulation
 Computers provide an extensive set of
instruction to give the user flexibility to carry
out various computational tasks
 The instruction set of different computers
differ from each other mostly in the way the
operands are determined from address and
mode fields.
 The actual operations available in the
instruction from one computer to another
Dr. Shakya
Data Transfer and Manipulation
 Most computer instruction can be
classified into three categories:

1. Data transfer instruction


2. Data manipulation
3. Program control instructions

Dr. Shakya
Data Transfer and Manipulation
 Data transfer instruction cause of data from one
location to another without changing the binary
information content.
 Data manipulation instructions are those that
perform arithmetic, logic ,shift operation
 Program control instructions provide decision
making capabilities and change the path taken by
the program when executed in the computer.

Dr. Shakya
Data Transfer and Manipulation
 Data Transfer Instruction
Name Mnemonic
Load LD
Store ST
Move MOV
Exchange XCH
Input IN
Output OUT
Push PUSH
Pop POP

Dr. Shakya
Data Manipulation Instructions
 Operation on data and provide the
computational capabilities for computer
 Basically data manipulation instructions
in a typical computer usually divided into
three basic types:
1. Arithmetic Instructions
2. Logical and bit manipulation instructions
3. Shift instructions
Dr. Shakya
Data Manipulation Instructions
Arithmetic Instruction

Name Mnemonic
Increment INC
Decrement DEC
Add ADD
Subtract SUB
Multiply MUL
Divide DIV
Add with carry ADDC
Subtract with borrow SUBB
Negate(2’s complement) NEG
Dr. Shakya
Data Manipulation Instructions
Logical and Bit Manipulation Instructions
Name Mnemonic
Clear CLR
Complement COM
AND AND
OR OR
Exclusive OR XOR
Clear Carry CLRC
Set Carry SETC
Complementary Carry COMC
Enable Interrupt EI
Disable Interrupt DI
Dr. Shakya
Data Manipulation Instructions
Shift Instructions

Name Mnemonic
Logical Shift right SHR
Logical Shift left SHL
Arithmetic shift right SHR A
Arithmetic shift left SHL A
Rotate right ROR
Rotate Left ROL
Rotate right through Carry ROR C
Rotate left through Carry ROL C

Dr. Shakya
Data Manipulation Instructions
View publication stats

Program Control Instructions

Name Mnemonic
Branch BR
Jump JMP
Skip SKP
CALL CALL
Return RET
Compare (by subtraction) CMP
Test (by ANDing) TST

Dr. Shakya

You might also like