FDEL

FDEL, FDELP

 

FDEL instruction copies the array to the Destination and move specific word to the other position.

 

 

D

Destination

S

Source

n

Position umber of source 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

FDEL

FDELP

D

o

o

o

o

o

o

o

o

-

o

o

o

o

4

o

-

-

S

-

-

-

-

-

-

-

-

-

o

o

o

-

n

o

o

o

o

o

o

o

o

-

o

o

o

o

 

  • When enabled, copy 789 (S+3) to the Destination. (n is 3 which means 3rd word from S).

  • FDEL(P) instruction shifts S+1 and S+2 to the same position and shifts 200 (S+4) to S+3.

The number of word device 4 in S is decreased to 3 word.

 

 

 

Example)

If X10 is ON, copy -23 (5th word from D50) to D10 and shift D51, D52, D53, and D54 to the same position.

As -23 (D55) is already deleted, D56 and D57 are shifted to D55 and D56 each.

The number of word device 7 in D50 is decreased to 6 word.