File:  [Isaki's NoNo m68k/m88k emulator] / nono / util / iasm / regress.iasm
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Wed Apr 29 17:05:58 2026 UTC (2 months, 3 weeks ago) by root
Branches: MAIN, Isaki
CVS tags: v027, HEAD
nono 1.7.0

; vi:set ts=8:
;
; XM6i
; Copyright (C) 2013-2016 Tetsuya Isaki
;
; iasm 動作確認用ソースコード
;

; コメント中の文法エラーを検出しないこと→ "

		.cinclude <stdio.h>
		.cinclude "foo.h"
		.start	test
		.org	$ff0000
start:
		nop
label_and_op:	nop
label_without_sp:nop
		nop	; comment
		nop; comment
		.rept	(1+2)
		nop
		.endrept

		.dc.b	0, 0, 0, 0	; comment
		.ds.l	1
		.dc.b	"あいう",0
		.even

		move.l	label_and_op,a0
		bcc.b	ne,start
		bra.b	start
		bcc.s	ne,start
		bra.s	start
		moveq	#$21,d0
		IOCS	_B_PRINT
		movem.w	d0,(a0)
		movem.w	d0/d1,-(a0)
		movem.l	start,D0-D5/D7/A0/A2-A3/A5
		move.l	a6,usp
		move	usp,a6
		sub.b	d1,d2
		suba.l	a1,a2

		.end

unix.superglobalmegacorp.com

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