AH500 Programming Manual API 1215 Symbol: S : Data source Word n : Number of devices Word D : Operation result Word Explanation: 1. The 16-bit value in the register specified by S is divided into four groups (four bits as a group), and these groups are stored in the low four bits in every register (The registers range from D to D +( n -1).). S D b3 b0 b7 b4 b11 b8 b15 b12 b3 b0 b15 b4 n D +1 +3 D +2 D All becomes 0. The positions in whcih the data is stored. 2. The operand n should be within the range between 1 and 4. Example: Suppose the value in D0 is 16#1234. When M0 is enabled, the instruction DIS is executed.
The value in D0 is divided into four groups (four bits as a group), and these groups are stored in the low four bits in every register (The registers range from D10 to D13.). 6-290 Instruction code Operand Function DIS P S, n, D Disuniting the 16-bit data Device X Y M S T C HC D L SM SR E PR K 16# “$” DF S n D Pulse instruction 16-bit instruction (7 steps) 32-bit instruction AH500 AH500 -