EASy68K  
It is currently Sun Nov 17, 2019 5:58 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Stacks
PostPosted: Wed Apr 06, 2011 10:21 pm 
Offline

Joined: Mon Mar 21, 2011 11:44 pm
Posts: 5
Location: Jamaica
Can someone please show me an example of pop and push for stacks?

_________________
:) Thank You


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 06, 2011 10:47 pm 
Offline

Joined: Mon Jul 26, 2010 11:43 pm
Posts: 198
Location: Aurora, IL
Code:
  MOVE.L D6,-(A7) ; PUSH D6

  MOVE.L  (A7)+,D6 ; POP D6


Code:
  MOVEM.L D3/A0,-(A7) ; PUSH D3 and A0

  MOVEM.L  (A7)+,D3/A0 ; POP D3 and A0


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 06, 2011 11:29 pm 
Offline

Joined: Mon Mar 21, 2011 11:44 pm
Posts: 5
Location: Jamaica
Thank You :)

_________________
:) Thank You


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


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

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group