Jump to content

Recommended Posts

Posted

dear all, 
is there any instruction in CX-Programmer to save / move data on certain Data Area?
for example : I want to move FFFF data to Dy address. we can set y as address number. 
so, if y = 455, FFFF will be moved to D455.
if y = 9 , FFFF will be moved to D9, etc
 thanks
 

Posted (edited)

@fuadwi You should use prefix  @ for binary at address to use it as indirect address.

Example

--| 0.00 |-----------[MOV &10 D0]

--| 0.01 |-----------[MOV &100 @D0]

D0 is used for indirect address. For example I move value 10 at D0

When use MOV with @D0 that means move value 100 to D10 that means if you adjust value in D0 then destination data has been changed.

Edited by Wasan

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...