cleanup/fix test for 65816

This commit is contained in:
mrdudz
2025-06-29 18:29:22 +02:00
parent 501dc00c9f
commit 4d73544d6c
2 changed files with 186 additions and 98 deletions

View File

@@ -12,6 +12,11 @@
lax #$ea
.endif
.ifp6280
sax
cla
.endif
.ifpsc02
jmp ($1234,x)
.endif
@@ -29,10 +34,6 @@
ldz #$12
.endif
.ifp816
xba
.endif
.ifp4510
taz
.endif
@@ -45,15 +46,14 @@
sac #$00
.endif
.ifp6280
sax
cla
.endif
.ifpm740
jsr $ff12
.endif
.ifp816
xba
.endif
; step 2: check for bitwise compatibility of instructions sets
; (made verbose for better reading with hexdump/hd(1))
@@ -115,10 +115,7 @@
.endif
; FIXME: something with 65816 is quirky
;.if (.not .cpu .bitand CPU_ISET_65816)
.include "allinst.inc"
;.endif
.include "allinst.inc"
; step 3: switch through all supported cpus to verify the pseudo-op is there