Data Transfer File Instructions

A file is a group of consecutive data table words used to store PC information. A file is normally defined by a counter and the starting word address of the file. The counter defines the number of words in the file (file length) with its preset value, and it points to a particular word in the file (position) with its accumulated value. The counter address also called instruction address, is used by the processor to search for the instruction and also the address in memory of the accumulated value of the instruction. In most PCs, the words in the file must be located one after another, and the files are normally restricted to 999 words in length.

File-to-File Move

A file-to-file move is used to transfer a large amount of data at one time from one block location of memory (file A) to another location (file R). The files can normally be from 1 to 999 words long. File A remains unaffected by the operation.

File-to-Word Move

The file-to-word move instruction transfers a duplicate of a word from a word location in file A to a specified word W in the data table.

Word-to-File Move

The word-to-file move instruction transfers a duplicate of the value in a specified data table word, W, into a word in file R that is pointed to by the counter accumulated value.