Search site Dead Hackers Society
Other BBSes »
 
 

Sommarhack 2013

Sillyventure 2013
Demoscene   º   Coding   º   CT60   º   Buy/sell   º   Misc/crap   º   Alive magazine   º   SNDH/Tracking

Atari coding BBS
 
Re: Cause of Error
Posted by: ggn Aug,02.2012-10:06 


Well it took me some time to figure out this 'pop' business :).

If you want to correct your stack, one idea is to use the faster addq.l #4,sp instead of move.l (sp)+,pop. But from what I see in your code you just want to execute one subroutine and then exit the bullet set-up code entirely. So, you could replace the jsr with a jmp and forget popping the stack at all. Then when your code hits the 'rts' it'll jump out of the caller subroutine entirely!

Hope this helps.




[All messages in this thread]

Topic Posted by  Date 
Cause of Error Bod/STAX Jul,31.2012-15:39
  Re: Cause of Error sqward Jul,31.2012-16:58
  Re: Cause of Error ggn Jul,31.2012-21:19
    Re: Cause of Error Bod/STAX Aug,01.2012-01:01
      Re: Cause of Error Bod/STAX Aug,01.2012-12:45
        Re: Cause of Error ggn Aug,02.2012-10:06
          Re: Cause of Error Bod/STAX Aug,02.2012-21:53
            Re: Cause of Error Defjam Aug,03.2012-15:31
              Re: Cause of Error spiny Aug,05.2012-11:57


Reply to this message
Name:
Topic:
Human verification (enter the text of the ASCII-art below):

       _       _ _             _   
 _____|_|___ _| | |_ ___ _____| |_ 
|     | |   | . | . | . |     | . |
|_|_|_|_|_|_|___|___|___|_|_|_|___|
Message:




© 1994-2013 Dead Hackers Society Contact: Anders Eriksson