jimtech67
Member
I am using a SLC500
is it possible to copy an F register into 2 N registers ??
I am looking for to transfer the bit image of an F Reg in 2 N regs.
I know that the MOV will not work
Example F8:0 = 95000
I want want the 32 representation of this value over N7:100 & N7:101
I tried the COP statement No good
Cop
Source #F8:0
Dest #N7:100
lenght 2
Below is what i am seeing
F8:0 = 95000
N7:100 = 18361
N7:101 = -29696
F8:0 = 1234
N7:100 = 17562
N7:101 = 16384
F8:0 = 255
N7:100 = 17279
N7:101 = 0
F8:0 = 2
N7:100 = 16384
N7:101 = 0
is it possible to copy an F register into 2 N registers ??
I am looking for to transfer the bit image of an F Reg in 2 N regs.
I know that the MOV will not work
Example F8:0 = 95000
I want want the 32 representation of this value over N7:100 & N7:101
I tried the COP statement No good
Cop
Source #F8:0
Dest #N7:100
lenght 2
Below is what i am seeing
F8:0 = 95000
N7:100 = 18361
N7:101 = -29696
F8:0 = 1234
N7:100 = 17562
N7:101 = 16384
F8:0 = 255
N7:100 = 17279
N7:101 = 0
F8:0 = 2
N7:100 = 16384
N7:101 = 0