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

Masked Move (MVM) instruction:

  • MVM instruction refers to a word instruction.
  • It is used to move data from source to destination and allows a portion of destination data to be masked by a separate word.
  • The function of MVM instruction is almost similar to that of MOV instruction, except that a masked move allows the data to be filtered out which is not required to be moved.

Terms used:

The following terms are used in the instruction

  • Source
    • Source refers to the address of the piece of data that is used in the instruction.
  • Destination
    • Destination refers to the address where the results of the instruction are stored.
  • Mask
    • Mask refers to the address of the mask through which the instruction moves the required data.
    • The mask can be either a constant value or hexadecimal value.

Blurred answer
Students have asked these similar questions
Write a program in 8086 microprocessors to find out the addition of two 8-bit BCD numbers, where numbers are stored from starting memory address 500 and store the result into memory address 600 and carry at 601.
A set of ten packed BCD numbers is stored in the memory location starting at 3050H. i. Write a program with a subroutine to add these numbers in BCD. If a carry is generated, save it in register B, and adjust it for BCD. The final sum will be less than 9999sCD. ii. Write a second subroutine to unpack the BCD sum stored in registers A and B, and store them in the memory locations starting at 3070H. The most significant digit (BCD4) should be stored at 3070H and the least significant digit (BCD) at 3073H.
Two word-wide unsigned integers are stored at the physical memory address 00A0016and 00A0216 , respectively. Write an instruction sequence that computes and stores their sum, difference, product and quotient. Store these results at consecutive memory locations starting at physical address 00A1016 in memory. To obtain the difference, subtract the integer at 00A0216 from the integer at 00A0016. For division, divide the integer at 00A0016 by the integer at 00A0216. Use the register indirect relative addressing mode to store the various results.Note: The two unsigned integers used must be different for each student.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education