1
0
mirror of https://github.com/fachat/xa65.git synced 2024-11-15 23:05:30 +00:00
xa65/xa/tests/mvnmvp/test.s

31 lines
417 B
ArmAsm
Raw Permalink Normal View History

2017-10-14 22:47:56 +00:00
; test instructions that failed during our testing
; and test instructions in the tokenizer bordering mvn/mvp
w = $01
lda $d020
lsr
mvn w, $02
2023-11-19 20:24:38 +00:00
#ifdef OLD_SYNTAX
2017-10-14 22:47:56 +00:00
mvn $0201
mvn $0066
2023-11-19 20:24:38 +00:00
#else
mvn $02,$01
mvn $00,$66
#endif
2017-10-14 22:47:56 +00:00
mvp $03, w+3
2023-11-19 20:24:38 +00:00
#ifdef OLD_SYNTAX
2017-10-14 22:47:56 +00:00
mvp $0403
mvp $0088
2023-11-19 20:24:38 +00:00
#else
mvp $04,$03
mvp $00,$88
#endif
#ifdef OLD_SYNTAX
mvp $0403,$03
mvp $03,$0405
mvn $0403,$03
mvn $03,$0405
#endif
2017-10-14 22:47:56 +00:00
nop
.byt $5a, $b6
.word $b65a