File:  [HATARI the Atari ST Emulator] / hatari / tests / cpu / int_addi.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_addi_1
tst_addi_1:
	sub.l	d0,d0
	addi.b	#0,d0
	sne	d0
	rts

.global tst_addi_2
tst_addi_2:
	sub.l	d0,d0
	addi.w	#0,d0
	sne	d0
	rts

.global tst_addi_3
tst_addi_3:
	sub.l	d0,d0
	addi.l	#0,d0
	sne	d0
	rts

.global tst_addi_4
tst_addi_4:
	move.l	#0x55667778,d1
	addi.b	#0x88,d1
	sne	d0
	scc	d2
	cmp.l	#0x55667700L,d1
	sne	d1
	or.b	d1,d0
	or.b	d2,d0
	rts

.global tst_addi_5
tst_addi_5:
	move.l	#0x55667788,d1
	addi.w	#0x3344,d1
	scs	d0
	cmp.l	#0x5566aacc,d1
	sne	d1
	or.b	d1,d0
	rts

.global tst_addi_6
tst_addi_6:
	move.l	#0x55667788,d1
	addi.l	#0x11223344,d1
	cmp.l	#0x6688aacc,d1
	sne	d0
	rts

unix.superglobalmegacorp.com

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