DataMuseum.dk

Presents historical artifacts from the history of:

Bogika Butler

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Bogika Butler

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦88c83183a⟧ TextFile

    Length: 6784 (0x1a80)
    Types: TextFile
    Names: »Z8TINS.ZAS«

Derivation

└─⟦63c65de3f⟧ Bits:30009789/_.ft.Ibm2.50007335.imd Mogens Pelles Zilog 80,000 / EOS projekt
    └─⟦this⟧ »Z8TINS.ZAS« 

TextFile

$title 'Z-8000 Instruction List'

$module z8000_instructions

;
; Z-8000 Instructions recognized by ZAS, v1.1
;
$psect numerical_order

ioaddr	:=	%1616
disp	:=	%1616
data8	:=	%88
data16	:=	%1616
data32	:=	%32323232

;
; Numerical list of Instructions
;

addr:
	addb	rh0, #data8
	addb	rh0, @r2
	add	r0, #data16
	add	r0, @r2
	subb	rh0, #data8
	subb	rh0, @r2
	sub	r0, #data16
	sub	r0, @r2
	orb	rh0, #data8
	orb	rh0, @r2
	or	r0, #data16
	or	r0, @r2
	andb	rh0, #data8
	andb	rh0, @r2
	and	r0, #data16
	and	r0, @r2
	xorb	rh0, #data8
	xorb	rh0, @r2
	xor	r0, #data16
	xor	r0, @r2
	cpb	rh0, #data8
	cpb	rh0, @r2
	cp	r0, #data16
	cp	r0, @r2
	comb	@r2
	cpb	@r2, #data8
	negb	@r2
	testb	@r2
	ldb	@r2, #data8
	tsetb	@r2
	clrb	@r2
	com	@r2
	cp	@r2, #data16
	neg	@r2
	test	@r2
	ld	@r2, #data16
	tset	@r2
	clr	@r2
	push	@r2, #data16
	xldm	epu0, @r2, #16, #data8
	xldm	@r2, epu1, #16, #data8
	cpl	rr2, #data32
	cpl	rr2, @r2
	pushl	@r2, @r2
	subl	rr2, #data32
	subl	rr2, @r2
	push	@r2, @r2
	ldl	rr2, #data32
	ldl	rr2, @r2
	popl	@r2, @r2
	addl	rr2, #data32
	addl	rr2, @r2
	pop	@r2, @r2
	multl	rq4, #data32
	multl	rq4, @r2
	mult	rr2, #data16
	mult	rr2, @r2
	divl	rq4, #data32
	divl	rq4, @r2
	div	rr2, #data16
	div	rr2, @r2
	ldm	r0, @r2, #16
	testl	@r2
	ldm	@r2, r0, #16
	ldl	@r2, rr2
	jp	uge, @r2
	call	@r2
	ldb	rh0, @r2
	ld	r0, #data16
	ld	r0, @r2
	resb	rh0, r1
	resb	@r2, #7
	res	r0, r1
	res	@r2, #15
	setb	rh0, r1
	setb	@r2, #7
	set	r0, r1
	set	@r2, #15
	bitb	rh0, r1
	bitb	@r2, #7
	bit	r0, r1
	bit	@r2, #15
	incb	@r2, #16
	inc	@r2, #16
	decb	@r2, #16
	dec	@r2, #16
	exb	rh0, @r2
	ex	r0, @r2
	ldb	@r2, rh0
	ld	@r2, r0
	ldrb	rh0, nxt1
nxt1:	ldb	rh0, r1(#disp)
	ldr	r0, nxt2
nxt2:	ld	r0, r1(#disp)
	ldrb	nxt3, rh0
nxt3:	ldb	r1(#disp), rh0
	ldr	nxt4, r0
nxt4:	ld	r1(#disp), r0
	ldar	r1, nxt5
nxt5:	lda	r2, r1(#disp)
	ldrl	rr2, nxt6
nxt6:	ldl	rr2, r1(#disp)
	ldrl	nxt7, rr2
nxt7:	ldl	r1(#disp), r2
	ldps	@r2
	inirb	@r2, @r2, r3
	inib	@r2, @r2, r3
	sinirb	@r2, @r2, r3
	sinib	@r2, @r2, r3
	otirb	@r2, @r2, r3
	outib	@r2, @r2, r3
	sotirb	@r2, @r2, r3
	soutib	@r2, @r2, r3
	inb	rh0, ioaddr
	sinb	rh0, ioaddr
	outb	ioaddr, rh0
	soutb	ioaddr, rh0
	indrb	@r2, @r4, r3
	indb	@r2, @r4, r3
	sindrb	@r2, @r4, r3
	sindb	@r2, @r4, r3
	otdrb	@r2, @r4, r3
	outdb	@r2, @r4, r3
	sotdrb	@r2, @r4, r3
	soutdb	@r2, @r4, r3
	inir	@r2, @r4, r3
	ini	@r2, @r4, r3
	sinir	@r2, @r4, r3
	sini	@r2, @r4, r3
	otir	@r2, @r4, r3
	outi	@r2, @r4, r3
	sotir	@r2, @r4, r3
	souti	@r2, @r2, r3
	in	r0, ioaddr
	sin	r0, ioaddr
	out	ioaddr, r0
	sout	ioaddr, r0
	indr	@r2, @r2, r3
	ind	@r2, @r4, r3
	sindr	@r2, @r4, r3
	sind	@r2, @r4, r3
	otdr	@r2, @r4, r3
	outd	@r2, @r4, r3
	sotdr	@r2, @r4, r3
	soutd	@r2, @r4, r3
	inb	rh0, @r2
	in	r0, @r2
	outb	@r2, rh0
	out	@r2, r0
	addb	rh0, addr
	add	r0, addr
	subb	rh0, addr
	sub	r0, addr
	orb	rh0, addr
	or	r0, addr
	andb	rh0, addr
	and	r0, addr
	xorb	rh0, addr
	xor	r0, addr
	cpb	rh0, addr
	cp	r0, addr
	comb	addr
	cpb	addr, #data8
	negb	addr
	testb	addr
	ldb	addr, #data8
	tsetb	addr
	clrb	addr
	com	addr
	cp	addr, #data16
	neg	addr
	test	addr
	ld	addr, #data16
	tset	addr
	clr	addr
	xldm	epu2, addr(r2), #16, #data8
	xldm	addr(r2), epu3, #16, #data8
	cpl	rr2, addr
	pushl	@r2, addr
	subl	rr2, addr
	push	@r2, addr
	ldl	rr2, addr
	popl	addr, @r2
	addl	rr2, addr
	pop	addr, @r2
	multl	rq4, addr
	mult	rr2, addr
	divl	rq4, addr
	div	rr2, addr
	ldm	r0, addr, #16
	testl	addr
	ldm	addr, r0, #16
	ldl	addr, rr2
	jp	ult, addr
	call	addr
	ldb	rh0, addr
	ld	r0, addr
	resb	addr, #7
	res	addr, #15
	setb	addr, #7
	set	addr, #15
	bitb	addr, #7
	bit	addr, #15
	incb	addr, #16
	inc	addr, #16
	decb	addr, #16
	dec	addr, #16
	exb	rh0, addr
	ex	r0, addr
	ldb	addr, rh0
	ld	addr, r0
	ldb	rh0, r1(r2)
	ld	r0, r1(r2)
	ldb	r1(r2), rh0
	ld	r1(r2), r0
	lda	r0, r1(r2)
	ldl	rr2, r1(r2)
	lda	r0, addr
	ldl	r1(r2), rr2
	ldps	addr
	halt
	iret
	mset
	mres
	mbit
	mreq	r1
	di	vi,nvi
	ei	vi,nvi
	ldctl	r0, fcw
	ldctl	r0, refresh
	ldctl	r0, psapseg
	ldctl	r0, psapoff
	ldctl	r0, nspseg
	ldctl	r0, nspoff
	ldctl	fcw, r0
	ldctl	refresh, r0
	ldctl	psapseg, r0
	ldctl	psapoff, r0
	ldctl	nspseg, r0
	ldctl	nspoff, r0
	sc	#255
	addb	rh1, rh2
	add	r1, r2
	subb	rh1, rh2
	sub	r1, r2
	orb	rh1, rh2
	or	r1, r2
	andb	rh1, rh2
	and	r1, r2
	xorb	rh1, rh2
	xor	r1, r2
	cpb	rh1, rh2
	cp	r1, r2
	comb	rh1
	ldctlb	rh1, flags
	negb	rh1
	testb	rh1
	tsetb	rh1
	clrb	rh1
	ldctlb	flags, rh1
	nop
	com	r1
	setflg	c,z
	neg	r1
	resflg	c,z
	test	r1
	comflg	c,z
	tset	r1
	clr	r1
	xldctl	flags, epu0, #data8
	xctl	epu0, #data8
	xldctl	epu0, flags, #data8
	xldm	r1, epu0, #16, #data8
	xldm	epu0, r1, #16, #data8
	cpl	rr2, rr4
	pushl	@r2, rr2
	subl	rr2, rr4
	push	@r2, r2
	ldl	rr2, rr4
	popl	rr2, @r2
	addl	rr2, rr4
	pop	r2, @r2
	multl	rq4, rr2
	mult	rr2, r1
	divl	rq4, rr2
	div	rr2, r1
	testl	rr2
	ret	nz
	ldb	rh1, rh2
	ld	r1, r2
	resb	rh1, #7
	res	r1, #15
	setb	rh1, #7
	set	r1, #15
	bitb	rh1, #7
	bit	r1, #15
	incb	rh1, #16
	inc	r1, #16
	decb	rh1, #16
	dec	r1, #16
	exb	rh1, rh2
	ex	r1, r2
	tccb	ne, rh1
	tcc	nov, r1
	dab	rh1
	extsb	r1
	extsl	rq4
	exts	rr2
	rlb	rh1, #1
	sllb	rh1, #7
	srlb	rh1, #7
	rlb	rh1, #2
	sdlb	rh1, r2
	rrb	rh1, #1
	rrb	rh1, #2
	rlcb	rh1, #1
	slab	rh1, #7
	srab	rh1, #7
	rlcb	rh1, #2
	sdab	rh1, r2
	rrcb	rh1, #1
	rrcb	rh1, #2
	rl	r1, #1
	sll	r1, #15
	srl	r1, #15
	rl	r1, #2
	sdl	r1, r2
	rr	r1, #1
	slll	rr2, #31
	srll	rr2, #31
	rr	r1, #2
	sdll	rr2, r1
	rlc	r1, #1
	sla	r1, #15
	sra	r1, #15
	rlc	r1, #2
	sda	r1, r2
	rrc	r1, #1
	slal	rr2, #31
	sral	rr2, #31
	rrc	r1, #2
	sdal	rr2, r1
	adcb	rh1, rh2
	adc	r1, r2
	sbcb	rh1, rh2
	sbc	r1, r2
	trib	@r2, @r2, r3
	trtib	@r2, @r2, r3
	trirb	@r2, @r2, r3
	trtirb	@r2, @r2, r3
	trdb	@r2, @r2, r3
	trtdb	@r2, @r2, r3
	trdrb	@r2, @r2, r3
	trtdrb	@r2, @r2, r3
	cpib	rh1, @r2, r3, gt
	ldirb	@r2, @r2, r3
	ldib	@r2, @r2, r3
	cpsib	@r2, @r2, r3, le
	cpirb	rh1, @r2, r3, eq
	cpsirb	@r2, @r2, r3, ge
	cpdb	rh1, @r2, r3, gt
	lddrb	@r2, @r2, r3
	lddb	@r2, @r2, r3
	cpsdb	@r2, @r2, r3, ult
	cpdrb	rh1, @r2, r3, ule
	cpsdrb	@r2, @r2, r3, uge
	cpi	r1, @r2, r3, ugt
	ldir	@r2, @r2, r3
	ldi	@r2, @r2, r3
	cpsi	@r2, @r2, r3, z
	cpir	r1, @r2, r3, c
	cpsir	@r2, @r2, r3, ov
	cpd	r1, @r2, r3, nov
	lddr	@r2, @r2, r3
	ldd	@r2, @r2, r3
	cpsd	@r2, @r2, r3, mi
	cpdr	r1, @r2, r3, nc
	cpsdr	@r2, @r2, r3, pl
	rrdb	rh1, rh2
	ldk	r1, #15
	rldb	rh1, rh2
	ldb	rh1, #255
	calr	nxt10
nxt10:	jr	eq, nxt11
nxt11:	dbjnz	rh1, nxt10
	djnz	r1, nxt11

	end
«eof»