Chapter 10 Flashcards
data manipulation instructions
- allow numerical data stored in controller’s memory to be operated on within control program
- two categories: data transfer & data comparison
MOV
move
-moves source value to the destination
AND
performs a bitwise AND operation
OR
performs a bitwise OR operation
XOR
exclusive or
-performs a bitwise XOR operation
NOT
performs a bitwise NOT operation
CLR
clear
-sets all bits of a word to zero
data transfer instructions
transfer of contents from one word or register to another
writing over existing data
move block moves information from source to destination and information in destination is replaced
file
group of related consecutive words in the data table that have a defined start & end and are used to store information
file to file shifts
shift complete files from one location to another within the programmable controller memory
address #N7:0
the # means it is the starting point or the starting address
file copy COP instruction
both source & destination are file addresses, simply copies over
FLL file fill instruction
copies one value from one file to multiple files at once
data transfer vs data compare
- data transfer are all output instructions
- data compare are all input instructions