Activities Manual for Programmable Logic Controllers
Activities Manual for Programmable Logic Controllers
5th Edition
ISBN: 9781259679568
Author: Petruzella, Frank
Publisher: MCGRAW-HILL HIGHER 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.
There is an application that requires the following hardware: an Intel 8031, a Program ROM of 8Kx8, a Data ROM of 4Kx8 for look-up tables and a Data RAMs of 8Kx8. The memory map of the design: Program ROM should start at address 0000H. Then, the Data ROM should come above the Program ROM. Finally the Data RAM must go to the top of the memory map. There should be no gaps between the memory addresses of the external ROMs.  Calculate the address space of the ROMs and RAMs of your design.
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