Sign in to follow this  
Followers 0
eclarkmeyer

No X in my XFER

13 posts in this topic

I am haveing no success writing data back and forth between the H and M memory areas using the XFER instruction. I have checked the A500 registers but there are no values written there. Any suggestions? ECM

Share this post


Link to post
Share on other sites
Need more info: 1. Three operands for XFER

Share this post


Link to post
Share on other sites
N = 4 S = D500 D = H101

Share this post


Link to post
Share on other sites
Anyhting else writing to H101?

Share this post


Link to post
Share on other sites
Try different destination like D32000.

Share this post


Link to post
Share on other sites
@XFER N = 4 S = D532 D = D732 @XFER N = 4 S = D732 D = D532 Both work fine. ???

Share this post


Link to post
Share on other sites
Something else must be writing to H101! Use View:Windows:Address Reference Tool - Search for H101.

Share this post


Link to post
Share on other sites
I can set the value in the memory view or with a MOV instruction but the XFER is just not working for the D/H word data transfer.

Share this post


Link to post
Share on other sites
I would have to agree with Jay. Someting else must be writing to your source or destination words. There is no other reason that I can think of that would stop this from working. Is it possible that these words are being inderectly addressed? Andy.

Share this post


Link to post
Share on other sites
As far as I can tell there is nothing else writing to these particular H memory addresses. I can write the values from D to H with a MOV instruction and they do not get overwritten. I assume that if something else was writing to these addresses that they would change.

Share this post


Link to post
Share on other sites
Check that in your XFER instruction, you are using a constant, ie '#4' or '&4' as your 'number of words' entry, and not just '4'. This would have the effect of copying a number of words corresponding to the value of IO address 4, which could possibly be any value, and maybe even 0. Andy.

Share this post


Link to post
Share on other sites
It looks like that may be my problem, I'll let you know. Thanks

Share this post


Link to post
Share on other sites
Be sure to enter #4 for N; if not then you are implying CIO 4.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0