mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
51c26d82a5
This makes the point where execution starts more obvious compared to a start_of_test label at the end of the include, and allows putting other functions at the start of the file. This change also modifies the existing tests to build with this change.
24 lines
373 B
Plaintext
24 lines
373 B
Plaintext
incdir "tests"
|
|
include "dsp_base.inc"
|
|
|
|
; Test for andc'ls
|
|
;
|
|
; 3d80 andc'ls $AC1.M : $AX0.L, $AC0.M
|
|
|
|
test_main:
|
|
clr $ACC0
|
|
clr $ACC1
|
|
lri $AX0.L, #0x0000
|
|
lri $AR0, #0x0FF0
|
|
lri $AR3, #0x0FF0
|
|
|
|
lri $AC0.M, #0x0004
|
|
lri $AC1.M, #0x1234
|
|
cw 0x3d80 ; andc'ls $AC1.M : $AX0.L, $AC0.M
|
|
|
|
call send_back
|
|
|
|
|
|
; We're done, DO NOT DELETE THIS LINE
|
|
jmp end_of_test
|