clear
;初期化スクリプト
;ターゲットメモリの定義
;
;          data   io   endian addressing
define_mem 10000 10000 BE     BA

add_mem_area	reg		0000 0100 1 RW
add_mem_area	com_io	8000 4000 2 RW
add_mem_area	exram	c000 4000 10 RW

add_io_area		switch	0000 0010



set -s8000 '0123456789ABCDEF'
get -s8000 -b10
get -s8000 -w8
get -s8000 -l4


wait -s8000 -b 30

wait -s8000 -b 10x

wait -s8000 -b 91.OR
wait -s8000 -b 91.AND	-t1000T	;1秒待ち

wait -s8000 -b 90.OR	-t1000T	;1秒待ち
wait -s8000 -b 90.AND

wait -s8000 -w 3031


wait -s8000 -l 30313233

wait -s1000 -b 30
wait -s8000,2 -b 30
wait -s8000, -b 30
wait -s8000. -b 30
