73%(11)73% ont trouvé ce document utile (11 votes)
14K vues10 pages
Data transfer and manipulation instructions allow computers to perform computational tasks. Data transfer instructions move data between locations without changing it. Data manipulation instructions perform arithmetic, logical, and shift operations on data. Program control instructions provide decision making and change the flow of a program. The document categorizes and provides examples of common data transfer, manipulation, and program control instructions.
Data transfer and manipulation instructions allow computers to perform computational tasks. Data transfer instructions move data between locations without changing it. Data manipulation instructions perform arithmetic, logical, and shift operations on data. Program control instructions provide decision making and change the flow of a program. The document categorizes and provides examples of common data transfer, manipulation, and program control instructions.
Droits d'auteur :
Attribution Non-Commercial (BY-NC)
Formats disponibles
Téléchargez comme PDF, TXT ou lisez en ligne sur Scribd
Data transfer and manipulation instructions allow computers to perform computational tasks. Data transfer instructions move data between locations without changing it. Data manipulation instructions perform arithmetic, logical, and shift operations on data. Program control instructions provide decision making and change the flow of a program. The document categorizes and provides examples of common data transfer, manipulation, and program control instructions.
Droits d'auteur :
Attribution Non-Commercial (BY-NC)
Formats disponibles
Téléchargez comme PDF, TXT ou lisez en ligne sur Scribd
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
Data Transfer and Manipulation
Most computer instruction can be classified into three categories: 1. 2. 3.
Data transfer instruction Data manipulation Program control instructions
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.
Data Transfer and Manipulation
Data Transfer Instruction Name Load Store Move Exchange Input Output Push Pop Mnemonic LD ST MOV XCH IN OUT PUSH POP
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: Arithmetic Instructions Logical and bit manipulation instructions Shift instructions
1. 2. 3.
Data Manipulation Instructions
Arithmetic Instruction Name Increment Decrement Add Subtract Multiply Divide Add with carry Subtract with borrow Negate(2s complement) Mnemonic INC DEC ADD SUB MUL DIV ADDC SUBB NEG
Data Manipulation Instructions
Logical and Bit Manipulation Instructions Name Clear Complement AND OR Exclusive OR Clear Carry Set Carry Complementary Carry Enable Interrupt Disable Interrupt Mnemonic CLR COM AND OR XOR CLRC SETC COMC EI DI
Data Manipulation Instructions
Shift Instructions Name Logical Shift right Logical Shift left Arithmetic shift right Arithmetic shift left Rotate right Rotate Left Rotate right through Carry Rotate left through Carry Mnemonic SHR SHL SHR A SHL A ROR ROL ROR C ROL C
Data Manipulation Instructions
Program Control Instructions
Name Branch Jump Skip CALL Return Compare (by subtraction) Test (by ANDing)