* ô Allocate 4KB for the assembled file. Þ program 4*1024 ô Equates from ti83plus.inc. (GetCSC=&4018 2PutS=&450A <ClrLCDFull=&4540 FHomeUp=&4558 PskClear=&0F *Zô You need to run two passes manually. Ydô OPT 4 means "assemble code at O% with error detection switched off and no listing". Xnô OPT 6 means "assemble code at O% with error detection switched on and no listing". xã pass=0 ¸ 1 ‚opt=pass*2+4 NŒô P% is the origin (.org), O% is the place to store the assembled program. –P%=&9D93 : O%=program  [OPT opt ª; AsmPrgm ´ÝB &BB : ÝB &6D ¾; Ion header. ÈRET ÒJR NC,main ÜÝM "BBC BASIC Assembler" æÝB 0 ð; Main program start here. ú.main OPT ¤_bcall(ClrLCDFull) OPT ¤_bcall(HomeUp) LD HL,message "OPT ¤_bcall(PutS) ,.waitClear 6OPT ¤_bcall(GetCSC) @CP skClear JRET Z TJR waitClear ^.message hÝM "Hello, world!" rÝB 0:] |í pass 9†ô Save the assembled binary to a program using *SAVE. (ÿ "SAVE IONPROG "+Ã~program+" "+Ã~O% šà ¤ô Macros ®Ý ¤_bcall(i) ¸[OPT opt ÂRST &28 ÌÝW i:] Ö=opt ÿÿ