fuadwi Posted July 24, 2019 Report Posted July 24, 2019 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 Quote
Wasan Posted July 24, 2019 Report Posted July 24, 2019 (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 July 25, 2019 by Wasan Quote
fuadwi Posted July 24, 2019 Author Report Posted July 24, 2019 yes it's worked. thanks a million @Wasan ขอบคุณ Quote
Recommended Posts
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.