File:  [HATARI the Atari ST Emulator] / hatari / tests / cpu / int_addq.s
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 9 08:58:39 2019 UTC (7 years, 3 months ago) by root
Branches: hatari, MAIN
CVS tags: hatari02210, hatari02200, HEAD
hatari 2.2.0


.global tst_addq_1
tst_addq_1:
	sub.l	d0,d0
	addq.b	#1,d0
	seq	d0
	rts

.global tst_addq_2
tst_addq_2:
	sub.l	d0,d0
	addq.w	#1,d0
	seq	d0
	rts

.global tst_addq_3
tst_addq_3:
	move.l	d3,-(sp)
	move.l	#0x55667778,d1
	addq.b	#8,d1
	scs	d0
	spl	d2
	svc	d3
	cmp.l	#0x55667780,d1
	sne	d1
	or.b	d1,d0
	or.b	d2,d0
	or.b	d3,d0
	move.l	(sp)+,d3
	rts

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.