TC is similar to a jump call but stores a return value in a specific register, in other words, it's a type of basic function call. Judging from the context of the rest of the code in this block, I'd guess it is a series of safety checks that set the DOWNFLAG, likely disabling the system if something unexpected happens. The comment # TEMPORARY, I HOPE HOPE HOPE is probably due to an issue they were having with bank angle that shouldn't exist. So the (undesirable) solution was to have the system turn itself off if this issue popped up until they could figure it out. This doesn't mean that the original issue wasn't fixed, just that the temporary code wasn't removed.
49
u/Flames15 May 16 '20
Enlighten us, the lowly high level programmers. Please.