mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -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.
20 lines
381 B
Plaintext
20 lines
381 B
Plaintext
incdir "tests"
|
|
include "dsp_base.inc"
|
|
|
|
; Right here we are at a specific predetermined state.
|
|
; Ideal environment to try instructions.
|
|
|
|
; We can call send_back at any time to send data back to the PowerPC.
|
|
|
|
test_main:
|
|
lri $AC0.M, #0x1000
|
|
call send_back
|
|
|
|
set40
|
|
lri $AC0.M, #0x1000
|
|
set16
|
|
call send_back
|
|
|
|
; We're done, DO NOT DELETE THIS LINE
|
|
jmp end_of_test
|