It is currently Sun Sep 15, 2019 10:37 am

 All times are UTC

 Page 1 of 1 [ 2 posts ]
 Print view Previous topic | Next topic
Author Message
 Post subject: (An)+ Post Increment: What does it mean?Posted: Fri Apr 15, 2016 4:52 am

Joined: Fri Apr 15, 2016 4:45 am
Posts: 1
I'm currently learning Easy68k, and I don't understand what (An)+ does or looks like. I typically need a visual example, but haven't been able to find one.

For example, in this code:

MOVE.B %01001111,D1
MOVE.B %00010111,D2
MOVEA.W \$4000,A0
MOVE.B D1,(A0)+
MOVE.B D2,(A0)+

What happens? I assume that the values in D1 or D2 are put into A0 and would look something like 0001011101001111. But, I'm not sure and don't understand what it's supposed to do. Can someone explain this to me?

Top

 Post subject: Re: (An)+ Post Increment: What does it mean?Posted: Fri Apr 15, 2016 10:55 am

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1101
Code:
MOVE.B  #5,D1       D1 = 5
MOVEA.W \$4000,A0    A0 = \$4000
MOVE.B  D1,(A0)+    Address \$4000 = 5, A0 = \$4001

_________________
Prof. Kelly

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 2 posts ]

 All times are UTC

#### Who is online

Users browsing this forum: Bing [Bot] and 6 guests

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for:
 Jump to:  Select a forum ------------------ EASy68K Forum    FAQ    Latest Features    EASy68K Questions    68000 Programming Questions    Wish List    Wishes Granted    Undocumented Features    Documented Features    General Discussion    EASy68K Projects