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

lri $AR1,    #0x0040
lri $IX1,    #0x1f26
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7975 (0x1f27)

lri $AR1,    #0x0040
lri $IX1,    #0x1f27
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7976 (0x1f28)

lri $AR1,    #0x0040
lri $IX1,    #0x1f28
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7977 (0x1f29)

lri $AR1,    #0x0040
lri $IX1,    #0x1f29
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7978 (0x1f2a)

lri $AR1,    #0x0040
lri $IX1,    #0x1f2a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7979 (0x1f2b)

lri $AR1,    #0x0040
lri $IX1,    #0x1f2b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7980 (0x1f2c)

lri $AR1,    #0x0040
lri $IX1,    #0x1f2c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7981 (0x1f2d)

lri $AR1,    #0x0040
lri $IX1,    #0x1f2d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7982 (0x1f2e)

lri $AR1,    #0x0040
lri $IX1,    #0x1f2e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7983 (0x1f2f)

lri $AR1,    #0x0040
lri $IX1,    #0x1f2f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7984 (0x1f30)

lri $AR1,    #0x0040
lri $IX1,    #0x1f30
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7985 (0x1f31)

lri $AR1,    #0x0040
lri $IX1,    #0x1f31
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7986 (0x1f32)

lri $AR1,    #0x0040
lri $IX1,    #0x1f32
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7987 (0x1f33)

lri $AR1,    #0x0040
lri $IX1,    #0x1f33
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7988 (0x1f34)

lri $AR1,    #0x0040
lri $IX1,    #0x1f34
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7989 (0x1f35)

lri $AR1,    #0x0040
lri $IX1,    #0x1f35
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7990 (0x1f36)

lri $AR1,    #0x0040
lri $IX1,    #0x1f36
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7991 (0x1f37)

lri $AR1,    #0x0040
lri $IX1,    #0x1f37
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7992 (0x1f38)

lri $AR1,    #0x0040
lri $IX1,    #0x1f38
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7993 (0x1f39)

lri $AR1,    #0x0040
lri $IX1,    #0x1f39
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7994 (0x1f3a)

lri $AR1,    #0x0040
lri $IX1,    #0x1f3a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7995 (0x1f3b)

lri $AR1,    #0x0040
lri $IX1,    #0x1f3b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7996 (0x1f3c)

lri $AR1,    #0x0040
lri $IX1,    #0x1f3c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7997 (0x1f3d)

lri $AR1,    #0x0040
lri $IX1,    #0x1f3d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7998 (0x1f3e)

lri $AR1,    #0x0040
lri $IX1,    #0x1f3e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 7999 (0x1f3f)

lri $AR1,    #0x0040
lri $IX1,    #0x1f3f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8000 (0x1f40)

lri $AR1,    #0x0040
lri $IX1,    #0x1f40
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8001 (0x1f41)

lri $AR1,    #0x0040
lri $IX1,    #0x1f41
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8002 (0x1f42)

lri $AR1,    #0x0040
lri $IX1,    #0x1f42
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8003 (0x1f43)

lri $AR1,    #0x0040
lri $IX1,    #0x1f43
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8004 (0x1f44)

lri $AR1,    #0x0040
lri $IX1,    #0x1f44
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8005 (0x1f45)

lri $AR1,    #0x0040
lri $IX1,    #0x1f45
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8006 (0x1f46)

lri $AR1,    #0x0040
lri $IX1,    #0x1f46
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8007 (0x1f47)

lri $AR1,    #0x0040
lri $IX1,    #0x1f47
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8008 (0x1f48)

lri $AR1,    #0x0040
lri $IX1,    #0x1f48
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8009 (0x1f49)

lri $AR1,    #0x0040
lri $IX1,    #0x1f49
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8010 (0x1f4a)

lri $AR1,    #0x0040
lri $IX1,    #0x1f4a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8011 (0x1f4b)

lri $AR1,    #0x0040
lri $IX1,    #0x1f4b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8012 (0x1f4c)

lri $AR1,    #0x0040
lri $IX1,    #0x1f4c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8013 (0x1f4d)

lri $AR1,    #0x0040
lri $IX1,    #0x1f4d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8014 (0x1f4e)

lri $AR1,    #0x0040
lri $IX1,    #0x1f4e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8015 (0x1f4f)

lri $AR1,    #0x0040
lri $IX1,    #0x1f4f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8016 (0x1f50)

lri $AR1,    #0x0040
lri $IX1,    #0x1f50
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8017 (0x1f51)

lri $AR1,    #0x0040
lri $IX1,    #0x1f51
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8018 (0x1f52)

lri $AR1,    #0x0040
lri $IX1,    #0x1f52
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8019 (0x1f53)

lri $AR1,    #0x0040
lri $IX1,    #0x1f53
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8020 (0x1f54)

lri $AR1,    #0x0040
lri $IX1,    #0x1f54
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8021 (0x1f55)

lri $AR1,    #0x0040
lri $IX1,    #0x1f55
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8022 (0x1f56)

lri $AR1,    #0x0040
lri $IX1,    #0x1f56
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8023 (0x1f57)

lri $AR1,    #0x0040
lri $IX1,    #0x1f57
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8024 (0x1f58)

lri $AR1,    #0x0040
lri $IX1,    #0x1f58
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8025 (0x1f59)

lri $AR1,    #0x0040
lri $IX1,    #0x1f59
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8026 (0x1f5a)

lri $AR1,    #0x0040
lri $IX1,    #0x1f5a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8027 (0x1f5b)

lri $AR1,    #0x0040
lri $IX1,    #0x1f5b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8028 (0x1f5c)

lri $AR1,    #0x0040
lri $IX1,    #0x1f5c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8029 (0x1f5d)

lri $AR1,    #0x0040
lri $IX1,    #0x1f5d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8030 (0x1f5e)

lri $AR1,    #0x0040
lri $IX1,    #0x1f5e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8031 (0x1f5f)

lri $AR1,    #0x0040
lri $IX1,    #0x1f5f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8032 (0x1f60)

lri $AR1,    #0x0040
lri $IX1,    #0x1f60
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8033 (0x1f61)

lri $AR1,    #0x0040
lri $IX1,    #0x1f61
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8034 (0x1f62)

lri $AR1,    #0x0040
lri $IX1,    #0x1f62
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8035 (0x1f63)

lri $AR1,    #0x0040
lri $IX1,    #0x1f63
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8036 (0x1f64)

lri $AR1,    #0x0040
lri $IX1,    #0x1f64
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8037 (0x1f65)

lri $AR1,    #0x0040
lri $IX1,    #0x1f65
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8038 (0x1f66)

lri $AR1,    #0x0040
lri $IX1,    #0x1f66
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8039 (0x1f67)

lri $AR1,    #0x0040
lri $IX1,    #0x1f67
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8040 (0x1f68)

lri $AR1,    #0x0040
lri $IX1,    #0x1f68
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8041 (0x1f69)

lri $AR1,    #0x0040
lri $IX1,    #0x1f69
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8042 (0x1f6a)

lri $AR1,    #0x0040
lri $IX1,    #0x1f6a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8043 (0x1f6b)

lri $AR1,    #0x0040
lri $IX1,    #0x1f6b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8044 (0x1f6c)

lri $AR1,    #0x0040
lri $IX1,    #0x1f6c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8045 (0x1f6d)

lri $AR1,    #0x0040
lri $IX1,    #0x1f6d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8046 (0x1f6e)

lri $AR1,    #0x0040
lri $IX1,    #0x1f6e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8047 (0x1f6f)

lri $AR1,    #0x0040
lri $IX1,    #0x1f6f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8048 (0x1f70)

lri $AR1,    #0x0040
lri $IX1,    #0x1f70
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8049 (0x1f71)

lri $AR1,    #0x0040
lri $IX1,    #0x1f71
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8050 (0x1f72)

lri $AR1,    #0x0040
lri $IX1,    #0x1f72
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8051 (0x1f73)

lri $AR1,    #0x0040
lri $IX1,    #0x1f73
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8052 (0x1f74)

lri $AR1,    #0x0040
lri $IX1,    #0x1f74
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8053 (0x1f75)

lri $AR1,    #0x0040
lri $IX1,    #0x1f75
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8054 (0x1f76)

lri $AR1,    #0x0040
lri $IX1,    #0x1f76
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8055 (0x1f77)

lri $AR1,    #0x0040
lri $IX1,    #0x1f77
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8056 (0x1f78)

lri $AR1,    #0x0040
lri $IX1,    #0x1f78
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8057 (0x1f79)

lri $AR1,    #0x0040
lri $IX1,    #0x1f79
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8058 (0x1f7a)

lri $AR1,    #0x0040
lri $IX1,    #0x1f7a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8059 (0x1f7b)

lri $AR1,    #0x0040
lri $IX1,    #0x1f7b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8060 (0x1f7c)

lri $AR1,    #0x0040
lri $IX1,    #0x1f7c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8061 (0x1f7d)

lri $AR1,    #0x0040
lri $IX1,    #0x1f7d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8062 (0x1f7e)

lri $AR1,    #0x0040
lri $IX1,    #0x1f7e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8063 (0x1f7f)

lri $AR1,    #0x0040
lri $IX1,    #0x1f7f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8064 (0x1f80)

lri $AR1,    #0x0040
lri $IX1,    #0x1f80
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8065 (0x1f81)

lri $AR1,    #0x0040
lri $IX1,    #0x1f81
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8066 (0x1f82)

lri $AR1,    #0x0040
lri $IX1,    #0x1f82
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8067 (0x1f83)

lri $AR1,    #0x0040
lri $IX1,    #0x1f83
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8068 (0x1f84)

lri $AR1,    #0x0040
lri $IX1,    #0x1f84
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8069 (0x1f85)

lri $AR1,    #0x0040
lri $IX1,    #0x1f85
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8070 (0x1f86)

lri $AR1,    #0x0040
lri $IX1,    #0x1f86
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8071 (0x1f87)

lri $AR1,    #0x0040
lri $IX1,    #0x1f87
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8072 (0x1f88)

lri $AR1,    #0x0040
lri $IX1,    #0x1f88
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8073 (0x1f89)

lri $AR1,    #0x0040
lri $IX1,    #0x1f89
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8074 (0x1f8a)

lri $AR1,    #0x0040
lri $IX1,    #0x1f8a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8075 (0x1f8b)

lri $AR1,    #0x0040
lri $IX1,    #0x1f8b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8076 (0x1f8c)

lri $AR1,    #0x0040
lri $IX1,    #0x1f8c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8077 (0x1f8d)

lri $AR1,    #0x0040
lri $IX1,    #0x1f8d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8078 (0x1f8e)

lri $AR1,    #0x0040
lri $IX1,    #0x1f8e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8079 (0x1f8f)

lri $AR1,    #0x0040
lri $IX1,    #0x1f8f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8080 (0x1f90)

lri $AR1,    #0x0040
lri $IX1,    #0x1f90
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8081 (0x1f91)

lri $AR1,    #0x0040
lri $IX1,    #0x1f91
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8082 (0x1f92)

lri $AR1,    #0x0040
lri $IX1,    #0x1f92
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 8083 (0x1f93)

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