Question about reset vector

Talk about your Micro-KIM

Question about reset vector

Postby Norbert » Mar Wed 28, 2012 10:52 pm

Hello,
I noticed the following behavior and I wonder why it's like that:
There is a keyboard subroutine for a self-built external keyboard in locations $0100 up to $012E.
To try it out, I wrote a small main program at $0200 that jumps to this subroutine (gets the value of key depressed).
After that, the main program continues and displays this value (20 1F 1F) , followed by a BRK instruction.
Is it normal that the subroutine from $0100 up is deleted when I start the main program and I have forgotten to set the reset vector before?
Can an uncontrolled 'stack growing' from $01FF downwards be responsible for that?

Thanks for your reply
Norbert
Norbert
 
Posts: 17
Joined: Feb Tue 15, 2011 2:17 am

Return to Micro-KIM General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron