To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 2632
2631  |  2633
Subject: 
#pragma reserve 14 crashed my program
Newsgroups: 
lugnet.robotics.rcx
Date: 
Sun, 8 May 2005 15:16:55 GMT
Viewed: 
5360 times
  
I added this code to a program I've written

#pragma reserve 14
#define MyVariable(@14)

and it caused my program to crash. My program has many pragma reserves below 14
and they all work perfectly. Is their somthing special about 14?

I don't know that much about reserving memory addresses, are their some rules to
it I should know about? I assumed you could reserve any address or does the
firmware occupy the same block as program memory?

I'm using NQC on Swan firmware.

Thanks

Steve



Message has 1 Reply:
  More data (was #pragma reserve 14 crashed my program)
 
(...) 1 & 8 don't work either which leads me to believe that I've somehow used up too much memory without getting a compile error. Steve (20 years ago, 8-May-05, to lugnet.robotics.rcx)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR