trig.tsk
417 Bytes
#
# trig.tsk : test trig ROM functions. See trig.s
#
#
load trig 0x0
dep pc 0x0
dep ctl 0x0
# put an angle in $1:
dep $1 512 # 45 degrees...
#dep $1 683 # 60 degrees...
#dep $1 1024 # 90 degrees...
#dep $1 1365 # 120 degrees...
#dep $1 2048 # 180 degrees...
#dep $1 2731 # 240 degrees...
#dep $1 3072 # 270 degrees...
#dep $1 -1024 # -90 degrees...
#dep $1 -512 # -45 degrees...
#dep $1 4095 # 359+ degrees...