640 AG$(0) = PL$(2):CD = 76: IF LEFT$(AG$(0),1) = "(" THEN CD = 108:AG$(0) = MID$ (AG$(0),2, LEN(AG$(0)) -2)
650 IF RIGHT$(AG$(0),2) = ",X" THEN CD = 124:AG$(0) = LEFT$(AG$(0), LEN(AG$(0)) -2)
660 GOSUB 120:CV = AG(0): GOTO 1080
670 REM MULTIOPS
680 GOSUB 340: IF AM = 0 OR MC%(CC -46,AM) = 0 THEN ER = 7: RETURN
690 LC = 1 +(AM >1) +(AM >8): IF NOT PN THEN RETURN
700 IF AM >5 OR AM = 1 THEN 740: REM DON'T NEED TO RE-EVALUATE
710 AG$(0) = PL$(2): IF LEFT$(PL$(2),1) = "(" THEN AG$(0) = MID$ (AG$(0),2, LEN(AG$(0)) -2): IF RIGHT$(AG$(0),2) = ",X" OR RIGHT$(AG$(0),2) = ")," THEN AG$(0) = LEFT$(AG$(0), LEN(AG$(0)) -2)
720 IF LEFT$(AG$(0),1) = "#" THEN AG$(0) = MID$ (AG$(0),2): IF LEFT$(AG$(0),1) = "<" THEN AG$(0) = MID$ (AG$(0),2)
730 GOSUB 120: IF LEFT$(PL$(2),2) = "#<" THEN AG(0) = INT(AG(0)/256)
740 CD = MC%(CC -46,AM):CV = AG(0): GOTO 1080
750 REM STRING OPS
760 LC = LEN(PL$(2)) -2 +(CC = 72): IF NOT PN THEN RETURN
770 AG$(0) = MID$ (PL$(2),2, LEN(PL$(2)) -2):L1 = 0: IF CC = 72 THEN L1 = 1: POKE BP, LEN(AG$(0))
780 FOR L = (CC <77) + LEN(AG$(0)) *(CC = 77) TO (CC = 77) + LEN(AG$(0)) *(CC <77) STEP (CC <77) -(CC = 77):A1 = ASC( MID$ (AG$(0),L,1))
790 POKE BP +L1,A1 +64 *(CC = 76 AND A1 <64) -64 *(CC = 75 AND A1 >63) +128 *(MB AND ((CC <74 OR CC = 77) OR (CC = 74 AND L < LEN(AG$(0))))) +128 *(MB = 0 AND CC = 74 AND L = LEN(AG$(0)))
800 L1 = L1 +1: NEXT : RETURN
810 REM BYT,HBY,DDB,DBY,DW,ADR
820 LC = 1 +(CC >79): IF NOT PN THEN RETURN
830 AG$(0) = PL$(2): GOSUB 120: IF CC = 78 THEN AG(0) = AG(0) - INT(AG(0)/256) *256
840 IF CC = 79 THEN AG(0) = INT(AG(0)/255)
850 IF CC = 80 OR CC = 81 THEN AG(0) = (AG(0) - INT(AG(0)/256) *256) *256 + INT(AG(0)/256)
860 CV = AG(0): POKE BP,CV - INT(CV/256) *256: IF LC >1 THEN POKE BP +1, INT(CV/256)
870 RETURN
880 REM DFB,HEX
890 LC = 0: FOR L1 = 1 TO LEN(PL$(2)):LC = LC +( MID$ (PL$(2),L1,1) = ","): NEXT :LC = LC +1: IF NOT PN THEN RETURN
900 A = 1:P = 1:A1 = 0
910 IF MID$ (PL$(2),P,1) < >"," THEN P = P +1: IF P < LEN(PL$(2)) THEN 910
920 IF P = LEN(PL$(2)) THEN P = P +1
930 AG$(0) = MID$ (PL$(2),A,P -A): IF CC = 85 THEN AG$(0) = "$" +AG$(0)
940 GOSUB 120: POKE BP +A1,(AG(0) *(AG(0) <256)): IF P < LEN(PL$(2)) THEN P = P +1:A = P:A1 = A1 +1: GOTO 910
950 RETURN
960 REM DS,DFS
970 IF PL$(2) = "!" THEN L = PC - INT(PC/256) *256:LC = 256 -L *(L < >0): GOTO 990