;;; -*- asm -*-
;;;

	CPU	SC61860
	ORG	$0000

	ADB
	ADCM
	ADIA	0
	ADIM	10
	ADM
	ADN
	ADW
	ANIA	20
	ANID	30
	ANIM	40
	ANMA
	CAL	$0000
	CAL	$1FFF
	CALL	$2000
	CPIA	50
	CPIM	60
	CPMA
	DECA
	DECB
	DECI
	DECJ
	DECK
	DECL
	DECP
	DX
	DXL
	DY
	DYS
	EXAB
	EXAM
	EXB
	EXBD
	EXW
	EXWD
	FILD
	FILM
	HALT		; not officially documented, may initiate infinite test cycle
	INA
	INB
	INCA
	INCB
	INCI
	INCJ
	INCK
	INCL
	INCP
	IY
	IYS
	IX
	IXL
	JP	$1234
	JPC	$2345
	JPNC	$3456
	JPNZ	$4567
	JPZ	$5678
L1:	JRCM	L1
	JRCP	L2
L2:	JRC	L1
	JRM	L2
L3:	JRNCM	L3
	JRNCP	L4
L4:	JRNZM	L3
	JRNZP	L5
	JRP	L5
L5:	JR	L6
	JRZM	L5
L6:	JRZP	L7
L7:	LEAVE
	LDD
	LDM
	LDP
	LDQ
	LDR
	LIA	70
	LIB	80
	LIDL	90
	LIDP	100
	LII	110
	LIJ	120
	LIP	130
L8:	LIQ	140
	LOOP	L8
	LP	0
	LP	$3F
	MVB
	MVBD
	MVDM
	MVMD
	MVW
	MVWD
	NOPT
	NOPW
	ORIA	150
	ORID	160
	ORIM	170
	ORMA
	OUTA
	OUTB
	OUTF
	OUTC
	POP
	PUSH
	RC
	RTN
	SBB
	SBCM
	SBIA	180
	SBIM	190
	SBM
	SBN
	SBW
	SC
	SL
	SLW
	SR
	SRW
	STD
	STP
	STQ
	STR
	SWP
	TEST	200
	TSIA	210
	TSID	220
	TSIM	230
	WAIT	240
	
	
	LIDP	-1
	LIDP	$ffff
	FCB	$A5
	DB	100

	;; Undocumented (Used in ROM)

	INCM			; PMB
	DECM			; PMB
	INCN			; PMB
	DECN			; PMB
	MVWP			; PMB
	RST			; JP3TLC
	IPXL			; PMB
	IPXH			; PMB

	PTC			;
	DTC			;
	TSMA			; PMB

	;; Undocumented (Other)
	CLRA			; PMB
	MVMP			; PMB
	LDPC			; PMB
	
	;; From PC-1350 Machine Language Reference Manual
	CASE1
	CASE2
	CUP
	CDN
	
