Apparently, the people here are not familiar with the AMAC syntax.
1. Select a memory location for your program with ORG.
2. Terminate your program somehow (e.g. RTS for return to DOS).
3. Specify the run address as an argument to END.
ORG $6000
MAIN LDA 710
STA 712
LDY #1
RTS
END MAIN
This program changes the border color to the background color and returns to DOS.
LDY #1 is not essential. If missing, some DOSes will report an error when they get back control.