;misc test
incdir  "tests"
include "dsp_base.inc"

lri $AR1,    #0x4000
lri $IX1,    #0x0400
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1025 (0x0401)

lri $AR1,    #0x4000
lri $IX1,    #0x0401
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1026 (0x0402)

lri $AR1,    #0x4000
lri $IX1,    #0x0402
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1027 (0x0403)

lri $AR1,    #0x4000
lri $IX1,    #0x0403
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1028 (0x0404)

lri $AR1,    #0x4000
lri $IX1,    #0x0404
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1029 (0x0405)

lri $AR1,    #0x4000
lri $IX1,    #0x0405
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1030 (0x0406)

lri $AR1,    #0x4000
lri $IX1,    #0x0406
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1031 (0x0407)

lri $AR1,    #0x4000
lri $IX1,    #0x0407
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1032 (0x0408)

lri $AR1,    #0x4000
lri $IX1,    #0x0408
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1033 (0x0409)

lri $AR1,    #0x4000
lri $IX1,    #0x0409
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1034 (0x040a)

lri $AR1,    #0x4000
lri $IX1,    #0x040a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1035 (0x040b)

lri $AR1,    #0x4000
lri $IX1,    #0x040b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1036 (0x040c)

lri $AR1,    #0x4000
lri $IX1,    #0x040c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1037 (0x040d)

lri $AR1,    #0x4000
lri $IX1,    #0x040d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1038 (0x040e)

lri $AR1,    #0x4000
lri $IX1,    #0x040e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1039 (0x040f)

lri $AR1,    #0x4000
lri $IX1,    #0x040f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1040 (0x0410)

lri $AR1,    #0x4000
lri $IX1,    #0x0410
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1041 (0x0411)

lri $AR1,    #0x4000
lri $IX1,    #0x0411
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1042 (0x0412)

lri $AR1,    #0x4000
lri $IX1,    #0x0412
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1043 (0x0413)

lri $AR1,    #0x4000
lri $IX1,    #0x0413
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1044 (0x0414)

lri $AR1,    #0x4000
lri $IX1,    #0x0414
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1045 (0x0415)

lri $AR1,    #0x4000
lri $IX1,    #0x0415
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1046 (0x0416)

lri $AR1,    #0x4000
lri $IX1,    #0x0416
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1047 (0x0417)

lri $AR1,    #0x4000
lri $IX1,    #0x0417
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1048 (0x0418)

lri $AR1,    #0x4000
lri $IX1,    #0x0418
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1049 (0x0419)

lri $AR1,    #0x4000
lri $IX1,    #0x0419
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1050 (0x041a)

lri $AR1,    #0x4000
lri $IX1,    #0x041a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1051 (0x041b)

lri $AR1,    #0x4000
lri $IX1,    #0x041b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1052 (0x041c)

lri $AR1,    #0x4000
lri $IX1,    #0x041c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1053 (0x041d)

lri $AR1,    #0x4000
lri $IX1,    #0x041d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1054 (0x041e)

lri $AR1,    #0x4000
lri $IX1,    #0x041e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1055 (0x041f)

lri $AR1,    #0x4000
lri $IX1,    #0x041f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1056 (0x0420)

lri $AR1,    #0x4000
lri $IX1,    #0x0420
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1057 (0x0421)

lri $AR1,    #0x4000
lri $IX1,    #0x0421
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1058 (0x0422)

lri $AR1,    #0x4000
lri $IX1,    #0x0422
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1059 (0x0423)

lri $AR1,    #0x4000
lri $IX1,    #0x0423
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1060 (0x0424)

lri $AR1,    #0x4000
lri $IX1,    #0x0424
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1061 (0x0425)

lri $AR1,    #0x4000
lri $IX1,    #0x0425
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1062 (0x0426)

lri $AR1,    #0x4000
lri $IX1,    #0x0426
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1063 (0x0427)

lri $AR1,    #0x4000
lri $IX1,    #0x0427
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1064 (0x0428)

lri $AR1,    #0x4000
lri $IX1,    #0x0428
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1065 (0x0429)

lri $AR1,    #0x4000
lri $IX1,    #0x0429
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1066 (0x042a)

lri $AR1,    #0x4000
lri $IX1,    #0x042a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1067 (0x042b)

lri $AR1,    #0x4000
lri $IX1,    #0x042b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1068 (0x042c)

lri $AR1,    #0x4000
lri $IX1,    #0x042c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1069 (0x042d)

lri $AR1,    #0x4000
lri $IX1,    #0x042d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1070 (0x042e)

lri $AR1,    #0x4000
lri $IX1,    #0x042e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1071 (0x042f)

lri $AR1,    #0x4000
lri $IX1,    #0x042f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1072 (0x0430)

lri $AR1,    #0x4000
lri $IX1,    #0x0430
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1073 (0x0431)

lri $AR1,    #0x4000
lri $IX1,    #0x0431
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1074 (0x0432)

lri $AR1,    #0x4000
lri $IX1,    #0x0432
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1075 (0x0433)

lri $AR1,    #0x4000
lri $IX1,    #0x0433
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1076 (0x0434)

lri $AR1,    #0x4000
lri $IX1,    #0x0434
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1077 (0x0435)

lri $AR1,    #0x4000
lri $IX1,    #0x0435
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1078 (0x0436)

lri $AR1,    #0x4000
lri $IX1,    #0x0436
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1079 (0x0437)

lri $AR1,    #0x4000
lri $IX1,    #0x0437
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1080 (0x0438)

lri $AR1,    #0x4000
lri $IX1,    #0x0438
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1081 (0x0439)

lri $AR1,    #0x4000
lri $IX1,    #0x0439
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1082 (0x043a)

lri $AR1,    #0x4000
lri $IX1,    #0x043a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1083 (0x043b)

lri $AR1,    #0x4000
lri $IX1,    #0x043b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1084 (0x043c)

lri $AR1,    #0x4000
lri $IX1,    #0x043c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1085 (0x043d)

lri $AR1,    #0x4000
lri $IX1,    #0x043d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1086 (0x043e)

lri $AR1,    #0x4000
lri $IX1,    #0x043e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1087 (0x043f)

lri $AR1,    #0x4000
lri $IX1,    #0x043f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1088 (0x0440)

lri $AR1,    #0x4000
lri $IX1,    #0x0440
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1089 (0x0441)

lri $AR1,    #0x4000
lri $IX1,    #0x0441
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1090 (0x0442)

lri $AR1,    #0x4000
lri $IX1,    #0x0442
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1091 (0x0443)

lri $AR1,    #0x4000
lri $IX1,    #0x0443
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1092 (0x0444)

lri $AR1,    #0x4000
lri $IX1,    #0x0444
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1093 (0x0445)

lri $AR1,    #0x4000
lri $IX1,    #0x0445
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1094 (0x0446)

lri $AR1,    #0x4000
lri $IX1,    #0x0446
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1095 (0x0447)

lri $AR1,    #0x4000
lri $IX1,    #0x0447
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1096 (0x0448)

lri $AR1,    #0x4000
lri $IX1,    #0x0448
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1097 (0x0449)

lri $AR1,    #0x4000
lri $IX1,    #0x0449
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1098 (0x044a)

lri $AR1,    #0x4000
lri $IX1,    #0x044a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1099 (0x044b)

lri $AR1,    #0x4000
lri $IX1,    #0x044b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1100 (0x044c)

lri $AR1,    #0x4000
lri $IX1,    #0x044c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1101 (0x044d)

lri $AR1,    #0x4000
lri $IX1,    #0x044d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1102 (0x044e)

lri $AR1,    #0x4000
lri $IX1,    #0x044e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1103 (0x044f)

lri $AR1,    #0x4000
lri $IX1,    #0x044f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1104 (0x0450)

lri $AR1,    #0x4000
lri $IX1,    #0x0450
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1105 (0x0451)

lri $AR1,    #0x4000
lri $IX1,    #0x0451
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1106 (0x0452)

lri $AR1,    #0x4000
lri $IX1,    #0x0452
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1107 (0x0453)

lri $AR1,    #0x4000
lri $IX1,    #0x0453
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1108 (0x0454)

lri $AR1,    #0x4000
lri $IX1,    #0x0454
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1109 (0x0455)

lri $AR1,    #0x4000
lri $IX1,    #0x0455
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1110 (0x0456)

lri $AR1,    #0x4000
lri $IX1,    #0x0456
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1111 (0x0457)

lri $AR1,    #0x4000
lri $IX1,    #0x0457
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1112 (0x0458)

lri $AR1,    #0x4000
lri $IX1,    #0x0458
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1113 (0x0459)

lri $AR1,    #0x4000
lri $IX1,    #0x0459
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1114 (0x045a)

lri $AR1,    #0x4000
lri $IX1,    #0x045a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1115 (0x045b)

lri $AR1,    #0x4000
lri $IX1,    #0x045b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1116 (0x045c)

lri $AR1,    #0x4000
lri $IX1,    #0x045c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1117 (0x045d)

lri $AR1,    #0x4000
lri $IX1,    #0x045d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1118 (0x045e)

lri $AR1,    #0x4000
lri $IX1,    #0x045e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1119 (0x045f)

lri $AR1,    #0x4000
lri $IX1,    #0x045f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1120 (0x0460)

lri $AR1,    #0x4000
lri $IX1,    #0x0460
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1121 (0x0461)

lri $AR1,    #0x4000
lri $IX1,    #0x0461
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1122 (0x0462)

lri $AR1,    #0x4000
lri $IX1,    #0x0462
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1123 (0x0463)

lri $AR1,    #0x4000
lri $IX1,    #0x0463
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1124 (0x0464)

lri $AR1,    #0x4000
lri $IX1,    #0x0464
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1125 (0x0465)

lri $AR1,    #0x4000
lri $IX1,    #0x0465
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1126 (0x0466)

lri $AR1,    #0x4000
lri $IX1,    #0x0466
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1127 (0x0467)

lri $AR1,    #0x4000
lri $IX1,    #0x0467
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1128 (0x0468)

lri $AR1,    #0x4000
lri $IX1,    #0x0468
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1129 (0x0469)

lri $AR1,    #0x4000
lri $IX1,    #0x0469
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1130 (0x046a)

lri $AR1,    #0x4000
lri $IX1,    #0x046a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1131 (0x046b)

lri $AR1,    #0x4000
lri $IX1,    #0x046b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1132 (0x046c)

lri $AR1,    #0x4000
lri $IX1,    #0x046c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1133 (0x046d)

lri $AR1,    #0x4000
lri $IX1,    #0x046d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1134 (0x046e)

lri $AR1,    #0x4000
lri $IX1,    #0x046e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1135 (0x046f)

lri $AR1,    #0x4000
lri $IX1,    #0x046f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1136 (0x0470)

lri $AR1,    #0x4000
lri $IX1,    #0x0470
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1137 (0x0471)

lri $AR1,    #0x4000
lri $IX1,    #0x0471
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1138 (0x0472)

lri $AR1,    #0x4000
lri $IX1,    #0x0472
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1139 (0x0473)

lri $AR1,    #0x4000
lri $IX1,    #0x0473
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1140 (0x0474)

lri $AR1,    #0x4000
lri $IX1,    #0x0474
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1141 (0x0475)

lri $AR1,    #0x4000
lri $IX1,    #0x0475
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1142 (0x0476)

lri $AR1,    #0x4000
lri $IX1,    #0x0476
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1143 (0x0477)

lri $AR1,    #0x4000
lri $IX1,    #0x0477
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1144 (0x0478)

lri $AR1,    #0x4000
lri $IX1,    #0x0478
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1145 (0x0479)

lri $AR1,    #0x4000
lri $IX1,    #0x0479
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1146 (0x047a)

lri $AR1,    #0x4000
lri $IX1,    #0x047a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1147 (0x047b)

lri $AR1,    #0x4000
lri $IX1,    #0x047b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1148 (0x047c)

lri $AR1,    #0x4000
lri $IX1,    #0x047c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1149 (0x047d)

lri $AR1,    #0x4000
lri $IX1,    #0x047d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1150 (0x047e)

lri $AR1,    #0x4000
lri $IX1,    #0x047e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1151 (0x047f)

lri $AR1,    #0x4000
lri $IX1,    #0x047f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 1152 (0x0480)

; We're done, DO NOT DELETE THIS LINE
jmp end_of_test

