mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-29 04:40:54 +01: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.
18 lines
314 B
Plaintext
18 lines
314 B
Plaintext
incdir "tests"
|
|
include "dsp_base.inc"
|
|
|
|
test_main:
|
|
CLR $acc0
|
|
CLR $acc1
|
|
LRI $ac0.h, #0x0050
|
|
LRI $ac1.h, #0x0050
|
|
ADD $acc0, $acc1 ; Causes acc0 to overflow, and thus also become negative
|
|
|
|
LRI $AX0.L, #0x0000
|
|
IFL
|
|
LRI $AX0.L, #0x0001
|
|
CALL send_back
|
|
|
|
; We're done, DO NOT DELETE THIS LINE
|
|
JMP end_of_test
|