= > Dis65 1.02 - 16-Apr-1993 - 65x02 disassembly routines D v1.01: &B8 returns CLV instead of SEV, LDX/STX addr,Y returned 5 v1.02: Optimised spaces into FNmde() and FNjr() (: 2$ݤDis_Name(cpu%):X%?3=0:="65x02" <7ݤDis_Code(cpu%,Ptr%,Data%): op%,ins%,md%,b0%,num% F4)1))+" A" 8(op%&E7)=4:="T"+"SR",1+(md%4),1)+"B"+mde(md%3) 2(op%&D3)=&C0:=bxy(ins%)+mde(((md%3)-1)3) "(op%&E7)=36:="BIT"+mde(md%) ((op%&C7)=&84:=bxy(ins%)+mde(md%) 7(op%&FD)=&A0:="LD"+"YX",1+((op%2)2),1)+mde(2) "S(op%&CF)=76:op%<>92:X%?2=64:="JMP "+"(",op%>95)+mde(md%),3)+")",op%>95) ,/op%=&80:num%=2:X%?2=64:="BRA"+jr(Data%?1) 6!X%?2=128:="EQUB &"+h0(op%,2) @: J3ݤalu(A%)="ORAANDEORADCSTALDACMPSBC",A%*3+1,3) T3ݤrot(A%)="ASLROLLSRRORSTXLDXDECINC",A%*3+1,3) ^3ݤbxy(A%)="***BIT***STZSTYLDYCPYCPX",A%*3+1,3) h: r1ݤmde(A%):num%=2:A%=2:=" #&"+h0(Data%?1,2) |@(A%2):num%=3:=" &"+h0(Data%!1,4)+",X",A%=7)+",Y",A%=6) -(A%1):=" &"+h0(Data%?1,2)+",X",A%=5) 6=" (&"+h0(Data%!1,2)+",X",A%=0)+")"+",Y",A%=4) : 1ݤjr(A%):=" &"+h0(Ptr%+A%+2+256*(A%>127),4)