2009-07-15 10:09:48 +00:00
|
|
|
incdir "tests"
|
|
|
|
include "dsp_base.inc"
|
2010-06-09 01:37:08 +00:00
|
|
|
|
2009-07-15 10:09:48 +00:00
|
|
|
; Test for andc'ls
|
|
|
|
;
|
|
|
|
; 3d80 andc'ls $AC1.M : $AX0.L, $AC0.M
|
2010-06-09 01:37:08 +00:00
|
|
|
|
2021-08-15 22:26:03 +00:00
|
|
|
test_main:
|
2009-07-15 10:09:48 +00:00
|
|
|
clr $ACC0
|
|
|
|
clr $ACC1
|
|
|
|
lri $AX0.L, #0x0000
|
|
|
|
lri $AR0, #0x0FF0
|
|
|
|
lri $AR3, #0x0FF0
|
2010-06-09 01:37:08 +00:00
|
|
|
|
2009-07-15 10:09:48 +00:00
|
|
|
lri $AC0.M, #0x0004
|
|
|
|
lri $AC1.M, #0x1234
|
2021-08-15 22:26:03 +00:00
|
|
|
cw 0x3d80 ; andc'ls $AC1.M : $AX0.L, $AC0.M
|
2010-06-09 01:37:08 +00:00
|
|
|
|
2009-07-15 10:09:48 +00:00
|
|
|
call send_back
|
2010-06-09 01:37:08 +00:00
|
|
|
|
|
|
|
|
2009-07-15 10:09:48 +00:00
|
|
|
; We're done, DO NOT DELETE THIS LINE
|
|
|
|
jmp end_of_test
|