BITMOV

BITMOV, BITMOVP

 

BITMOV instruction copies the specified bits from the source to the Destination.

 

 

S

Source

D

Destination

n

Number of bits to copy

 

Instruction

Device address

No. of Steps

Flag

M

X

Y

K

L

F

T

C

S

Z

D

@D

Int.

 

Error

Zero

Carry

BITMOV

BITMOVP

S

o

o

o

o

o

o

-

-

-

-

-

-

-

4

o

-

-

D

o

-

o

o

o

-

-

-

-

-

-

-

-

n

o

o

o

o

o

o

o

o

-

o

o

o

o

 

  • BITMOV instruction copies (n) number of bits from (S) and writes them the lowest bit number to start with in the Destination.

 

Example)

If X01 is ON, the BITMOV instruction copies 3 bits from M05 and writes them in M107 in sequence.

 

 

 

 

If X03 is ON, the BITMOVP copies 6 bits from M0E and writes them in M103 in sequence.