17.03.2014 Views

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3. Instruction Set<br />

The combination will be performed in the following rule:<br />

S+0<br />

Hi-byte Lo-byte<br />

‘A’<br />

S+1<br />

S+2<br />

S+3<br />

S+4<br />

‘B’<br />

‘C’<br />

‘D’<br />

0x00<br />

D+0<br />

D+1<br />

D+2<br />

D+3<br />

Hi-byte Lo-byte<br />

‘a’<br />

‘b’<br />

‘c’<br />

‘A’<br />

D+0<br />

D+1<br />

D+2<br />

Hi-byte Lo-byte<br />

‘a’<br />

‘b’<br />

‘c’<br />

D+4<br />

D+5<br />

D+6<br />

D+7<br />

‘B’<br />

‘C’<br />

‘D’<br />

0x00<br />

D+3<br />

0x00<br />

K17: String capture<br />

Explanations:<br />

The system copies the source data string (lower 8 bits) with the data length specified by<br />

operand n to the destination registers, where the n+1 register will be filled with 0x00. If value<br />

0x00 is reached before the specified capture length n is completed, the capture will also be<br />

ended.<br />

The capture will be performed in the following rule:<br />

Hi-byte Lo-byte<br />

S+0<br />

‘a’<br />

S+1<br />

S+2<br />

S+3<br />

S+4<br />

S+5<br />

‘b’<br />

‘c’<br />

‘A’<br />

‘B’<br />

‘C’<br />

n = k3<br />

D+0<br />

D+1<br />

D+2<br />

D+3<br />

Hi-byte Lo-byte<br />

‘a’<br />

‘b’<br />

‘c’<br />

0x00<br />

S+6<br />

‘D’<br />

S+7<br />

0x00<br />

K18: Convert data string to floating point value<br />

Explanations:<br />

The system converts n words (lower 8 bits) of the source data string (decimal point is not<br />

included) to floating point value and stores the converted value in the destination device.<br />

3-177

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!