90 likes | 228 Views
ECT 464. Lecture 15 Move Instructions. Today’s Quote: Too many people quit looking for work when they find a job. One who is slack in his work is brother to one who destroys. Proverbs 18:9. Move (MOV).
E N D
ECT 464 Lecture 15 Move Instructions
Today’s Quote: Too many people quit looking for work when they find a job. One who is slack in his work is brother to one who destroys. Proverbs 18:9
Move (MOV) • The MOV instruction is used to move data from the source to the destination. As long as the rung remains true, the instruction moves the data each scan.
Masked Move (MVM) • The MVM instruction is used to move data from the source to the destination, allowing portions of the destination to be masked. The mask bit functions as follows:
Copy Word (CPW) • The CPW instruction copies words of data, in ascending order, from one location (Source) to another (Destination). Although similar to the File Copy (COP) instruction, the CPW instruction allows different source and destination parameters.
Copy File (COP) • The COP instruction copies blocks of data from one location into another.
Fill File (FLL) • The FLL instruction loads elements of a file with either a constant or an address data value for a given length. The instruction fills the words of a file with a source value.
Bit Shift Left (BSL) • The BSL instruction loads data into a bit array on a false-to-true rung transition, one bit at a time. The data is shifted left through the array, then unloaded, one bit at a time.
Bit Shift Right (BSR) • The BSR instruction loads data into a bit array on a false-to-true rung transition, one bit at a time. The data is shifted right through the array, then unloaded, one bit at a time.