startaddress equ $1001 ;Say, your program should start here. org startaddress-2 ;Start assembling two bytes early db lo startaddress db hi startaddress ;Let AS65 generate the two-byte PRG header. start_of_program: ;The actual program starts at $1001 ......