So now I have to find out what's causing that.
Anyone have any suggestions?
Thanks again Daniel,
Rodo
ORG - Set Location Counter
Syntax
ORG <expression>
Synonym
None
Description
The ORG directive sets the location counter to the value specified by<expression>. Subsequent statements are assigned memory locations starting with the new location counter value. The <expression> must be absolute and may not contain any forward, undefined, or external references. The ORG directive generates an internal section, which is absolute (see the Sections chapter).
Listing 8.49 Using ORG to set the location counter
org $2000
b1: nop
b2: rts
Viewing Listing 8.50, you can see that the b1 label is located at address $2000 and label b2 is at address $2001.
Listing 8.50 Assembler output listing from the source code in Listing 8.49
Abs. Rel. Loc Obj. code Source line
---- ---- ------ --------- -----------
1 1 org $2000
2 2 a002000 9D b1: nop
3 3 a002001 81 b2: rts
I'm starting to lean towards CW may have an issue with the ORG statement as it applies to ISRs..
I appreciate your help,
Rodo
peg wrote:
Hi Mac,
The S08 assembler from P&E supports relocatable assembly.
ORG $FFCE DC.W IRQT .text: SECTION
ORG $FFFE DC.W _Startup