This is the error I get

Code: Select all

```
michele@michele:/raid/programmazione/Snes/tool/bass_v14/binary$ ./bass test2.asmerror: unrecognized arch spc700n.arch
test2.asm:1:1: arch spc700n.arch
bass: assembly failed
```

Code: Select all

```
arch spc700n.arch
output "test.bin", create
origin $0000
nop
nop
```

Code: Select all

```
endian lsb
mov a,x ;$7d
mov a,y ;$dd
mov x,a ;$5d
mov y,a ;$fd
mov x,sp ;$9d
mov sp,x ;$bd
mov a,(x) ;$e6
mov a,(x)+ ;$bf
mov a,[*08+x] ;$e7 =a
mov a,[*08]+y ;$f7 =a
mov a,#*08 ;$e8 =a
mov a,!*16+x ;$f5 =a
mov a,!*16+y ;$f6 =a
mov a,!*16 ;$e5 =a
mov a,*08+x ;$f4 =a
mov a,*08 ;$e4 =a
mov x,#*08 ;$cd =a
mov x,*08+y ;$f9 =a
mov x,!*16 ;$e9 =a
mov x,*08 ;$f8 =a
mov y,#*08 ;$8d =a
mov y,*08+x ;$fb =a
mov y,!*16 ;$ec =a
mov y,*08 ;$eb =a
mov (x),a ;$c6
mov (x)+,a ;$af
mov [*08+x],a ;$c7 =a
mov [*08]+y,a ;$d7 =a
mov *08,#*08 ;$8f =b =a
mov !*16+x,a ;$d5 =a
mov !*16+y,a ;$d6 =a
mov *08+x,a ;$d4 =a
mov !*16,a ;$c5 =a
mov *08,a ;$c4 =a
mov *08+y,x ;$d9 =a
mov !*16,x ;$c9 =a
mov *08,x ;$d8 =a
mov *08+x,y ;$db =a
mov !*16,y ;$cc =a
mov *08,y ;$cb =a
mov *08,*08 ;$fa =b =a
adc a,(x) ;$86
adc (x),(y) ;$99
adc a,[*08+x] ;$87 =a
adc a,[*08]+y ;$97 =a
adc a,#*08 ;$88 =a
adc *08,#*08 ;$98 =b =a
adc a,!*16+x ;$95 =a
adc a,!*16+y ;$96 =a
adc a,*08+x ;$94 =a
adc a,!*16 ;$85 =a
adc a,*08 ;$84 =a
adc *08,*08 ;$89 =b =a
sbc a,(x) ;$a6
sbc (x),(y) ;$b9
sbc a,[*08+x] ;$a7 =a
sbc a,[*08]+y ;$b7 =a
sbc a,#*08 ;$a8 =a
sbc *08,#*08 ;$b8 =b =a
sbc a,!*16+x ;$b5 =a
sbc a,!*16+y ;$b6 =a
sbc a,*08+x ;$b4 =a
sbc a,!*16 ;$a5 =a
sbc a,*08 ;$a4 =a
sbc *08,*08 ;$a9 =b =a
cmp a,(x) ;$66
cmp (x),(y) ;$79
cmp a,[*08+x] ;$67 =a
cmp a,[*08]+y ;$77 =a
cmp a,#*08 ;$68 =a
cmp a,!*16+x ;$75 =a
cmp a,!*16+y ;$76 =a
cmp a,*08+x ;$74 =a
cmp a,!*16 ;$65 =a
cmp a,*08 ;$64 =a
cmp x,#*08 ;$c8 =a
cmp x,!*16 ;$1e =a
cmp x,*08 ;$3e =a
cmp y,#*08 ;$ad =a
cmp y,!*16 ;$5e =a
cmp y,*08 ;$7e =a
cmp *08,#*08 ;$78 =b =a
cmp *08,*08 ;$69 =b =a
and a,(x) ;$26
and (x),(y) ;$39
and a,[*08+x] ;$27 =a
and a,[*08]+y ;$37 =a
and a,#*08 ;$28 =a
and *08,#*08 ;$38 =b =a
and a,!*16+x ;$35 =a
and a,!*16+y ;$36 =a
and a,*08+x ;$34 =a
and a,!*16 ;$25 =a
and a,*08 ;$24 =a
and *08,*08 ;$29 =b =a
or a,(x) ;$06
or (x),(y) ;$19
or a,[*08+x] ;$07 =a
or a,[*08]+y ;$17 =a
or a,#*08 ;$08 =a
or a,!*16+x ;$15 =a
or a,!*16+y ;$16 =a
or a,!*16 ;$05 =a
or a,*08+x ;$14 =a
or a,*08 ;$04 =a
or *08,#*08 ;$18 =b =a
or *08,*08 ;$09 =b =a
eor a,(x) ;$46
eor (x),(y) ;$59
eor a,[*08+x] ;$47 =a
eor a,[*08]+y ;$57 =a
eor a,#*08 ;$48 =a
eor *08,#*08 ;$58 =b =a
eor a,!*16+x ;$55 =a
eor a,!*16+y ;$56 =a
eor a,*08+x ;$54 =a
eor a,!*16 ;$45 =a
eor a,*08 ;$44 =a
eor *08,*08 ;$49 =b =a
inc a ;$bc
inc x ;$3d
inc y ;$fc
inc *08+x ;$bb =a
inc !*16 ;$ac =a
inc *08 ;$ab =a
dec a ;$9c
dec x ;$1d
dec y ;$dc
dec *08+x ;$9b =a
dec !*16 ;$8c =a
dec *08 ;$8b =a
asl a ;$1c
asl *08+x ;$1b =a
asl !*16 ;$0c =a
asl *08 ;$0b =a
lsr a ;$5c
lsr *08+x ;$5b =a
lsr !*16 ;$4c =a
lsr *08 ;$4b =a
rol a ;$3c
rol *08+x ;$3b =a
rol !*16 ;$2c =a
rol *08 ;$2b =a
ror a ;$7c
ror *08+x ;$7b =a
ror !*16 ;$6c =a
ror *08 ;$6b =a
xcn a ;$9f
movw ya,*08 ;$ba =a
movw *08,ya ;$da =a
incw *08 ;$3a =a
decw *08 ;$1a =a
addw ya,*08 ;$7a =a
subw ya,*08 ;$9a =a
cmpw ya,*08 ;$5a =a
mul ya ;$cf
div ya,x ;$9e
das a ;$be
daa a ;$df
bra *08 ;$2f +2a
beq *08 ;$f0 +2a
bne *08 ;$d0 +2a
bcs *08 ;$b0 +2a
bcc *08 ;$90 +2a
bvs *08 ;$70 +2a
bvc *08 ;$50 +2a
bmi *08 ;$30 +2a
bpl *08 ;$10 +2a
bbs *08.*03,*08 ;=b %00011 =a +3c
bbc *08.*03,*08 ;=b %10011 =a +3c
cbne *08+x,*08 ;$de =a +3b
cbne *08,*08 ;$2e =a +3b
dbnz y,*08 ;$fe +2a
dbnz *08,*08 ;$6e =a +3b
jmp !*16 ;$5f =a
jmp [!*16+x] ;$1f =a
call !*16 ;$3f =a
pcall *08 ;$4f =a
tcall *04 ;=a %0001
brk ;$0f
ret ;$6f
reti ;$7f
push a ;$2d
push x ;$4d
push y ;$6d
push psw ;$0d
pop a ;$ae
pop x ;$ce
pop y ;$ee
pop psw ;$8e
set1 *08.*03 ;=b %00010 =a
clr1 *08.*03 ;=b %10010 =a
tset1 !*16 ;$0e =a
tclr1 !*16 ;$4e =a
and1 c,/*13.*03 ;$6a ~b ~a
and1 c,*13.*03 ;$4a ~b ~a
or1 c,/*13.*03 ;$2a ~b ~a
or1 c,*13.*03 ;$0a ~b ~a
eor1 c,*13.*03 ;$8a ~b ~a
not1 *13.*03 ;$ea ~b ~a
mov1 c,*13.*03 ;$aa ~b ~a
mov1 *13.*03,c ;$ca ~b ~a
clrc ;$60
setc ;$80
notc ;$ed
clrv ;$e0
clrp ;$20
setp ;$40
ei ;$a0
di ;$c0
nop ;$00
sleep ;$ef
stop ;$ff
```