Programmable Logic Controllers
Programmable Logic Controllers
5th Edition
ISBN: 9780073373843
Author: Frank D. Petruzella
Publisher: McGraw-Hill Education
Question
Book Icon
Chapter 10, Problem 5RQ
Program Plan Intro

Data manipulation instructions:

  • Data manipulation instructions enable the numerical data that exists in the controller’s memory to be performed within the control program.
  • Data manipulation instructions allows manipulation of data that is stored in either single or multiple words groups.
  • It also includes the transfer of data from one data memory area of the Programmable Logic Controller (PLC) to another.
  • In order to accomplish data manipulation, there are mainly two different kinds of instructions.
    • Instructions which operate on word data.
    • Instructions which operate on file or block.
  • There are mainly two broad categories of data manipulation instructions as follows:
    • Data transfer instructions
    • Data comparison instructions

MOV instruction:

  • Move (MOV) instruction is used to copy the data of the source register into destination register.
  • Here, the contents of the source register will not be altered.
  • In other words, it is used to copy the value in one word or register to another word or register.

Blurred answer
Students have asked these similar questions
Instruction CLD belongs to Implied addressing and it sets the Carry Flag to one. Select one: True False
4. Which segment will be accessed for the instruction MOV [BX],AH.
(d) The table below shows the ALUcontrol signal of the datapath we discussed in class. Instruction Funct ALU Орсode ALUop ALU action operation field control Iw 00 load word XXXXXX add 0010 Sw 00 store word XXXXXX add 0010 beq 01 branch equal subtract 0110 XXXXXX R-type 10 add 100000 add 0010 R-type 10 subtract 100010 subtract 0110 R-type 10 AND 100100 AND 0000 R-type 10 OR 100101 OR 0001 R-type 10 set on less than 101010 set on less than 0111 You want to add the bne instruction into the datapath, which already includes the required hardware for the instruction. Write out the ALUop for bne and how you can determine whether the bne results in the branch to be taken.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning