EASy68K
http://www.easy68k.com/EASy68Kforum/

Stacks
http://www.easy68k.com/EASy68Kforum/viewtopic.php?f=5&t=990
Page 1 of 1

Author:  chevi [ Wed Apr 06, 2011 10:21 pm ]
Post subject:  Stacks

Can someone please show me an example of pop and push for stacks?

Author:  clive [ Wed Apr 06, 2011 10:47 pm ]
Post subject: 

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

Author:  chevi [ Wed Apr 06, 2011 11:29 pm ]
Post subject: 

Thank You :)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/