Robert M #1 Posted November 7, 2003 Hi, I am trying to make use of segments in the Gravity Ball code, but I am not sure if I am using them correctly. The first time I declare a new segment, should I put the ORG pseudo-op before or after the SEG pseudo-op? Like this: ORG $0080 SEG.U RAM ORG $F000 SEG CODE Or, like this: SEG.U RAM ORG $0080 SEG CODE ORG $F000 Thanks, Quote Share this post Link to post Share on other sites
Andrew Davie #2 Posted November 10, 2003 Typically you'd place your segment marker first, then one or more ORG's inside the segment. The segment contains blocks of code/data, each ORG'd to some location, not the other way around. Cheers A Quote Share this post Link to post Share on other sites
Robert M #3 Posted November 10, 2003 Thanks for clearing that up Andrew. Quote Share this post Link to post Share on other sites