17 lines
303 B
Plaintext
17 lines
303 B
Plaintext
incdir "tests"
|
|
include "dsp_base.inc"
|
|
|
|
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
|