AH500 Programming Manual API 1216 Symbol: S : Data source Word n : Data length Word D : Operation result Word Explanation: 1. The 16-bit values in the registers specified by S ~ S +( n -1) are divided into groups (four bits as a group), and every group which is composed of b0~b3 is stored in the register specified by D . b3 b0 b15 b4 S S +1 S+2 S +3 b3 b0 b7 b4 b11 b8 b15 b12 D 2. The operand n should be within the range between 1 and 4. Being ignored The data which is stored Example: Suppose the values in D0~D3 are 16#1234, 16#5678, 16#8765, and 16#4321 respectively. When M0 is enabled, the instruction UNI is executed.
The values in D0~D3 are divided into groups (four bits as a group), and every group which is composed of b0~b3 is stored in D10. 6-292 Instruction code Operand Function UNI P S, n, D Uniting 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 -