User data – Toshiba T2N User Manual

Page 200

Advertising
background image

3.User Data

User's manual

187

Below, the operation of digit designation is described for the case when
digit designation is executed as a source operand (a register for
executing a instruction using its data) and the case when digit
designation is executed as a destination operand (a register which
stores the result of instruction execution).

It is possible to carry out digit designation for both a reference operand
and a transfer destination operand with 1 instruction.

(1)

Digit Designation for MOV Instruction

Example 1)

Q1

–[

X0054 MOV D1000

]–

(data transfer instruction)

The tranfer data of 1 digit (4 bits) data starting with X0054 as the lower 4 bits,
and apper 12 bits which are 0. Then, the transfer data is stored in D1000.

F

7

4

0

XW005

F

3

0

D1000

0

0

0

Example 2)

Q2

–[

XW000 MOV R10018

]–

(data transfer instruction)

The data of the lower 2 digits (8 bits) of XW000 is transferred to
the 2 digits (8 bits) which start from R0018.

The value of RW001 before
transfer remains.

XW000

Transfer data

RW001

F

8

4

0

Advertising