Resequencing BHAV 4096

We will do the same thing to BHAV 4096 "main".

BHAV 4096

Once again it's easier to follow the resequenced code. This BHAV is supposed to run in a loop all the time, so the function outcomes are either FD (return error) or the next line number. When we get to the last line it loops back up to line 1, unless something goes wrong.

resequenced BHAV 4096

Decimal view

Sometimes it is useful to view the BHAV data as decimal values instead of hex values, particularly when interpreting hacking tutorials that were written for IFFPencil 2, since they frequently use decimal parameter values. The decimal radio button changes the display to columns of two byte decimal values. You can revert to the regular BHAV view with the Reset button.

The decimal view is not interpreted, so there is no column with line numbers, and the BHAV header is no longer separate from the rest of the resource. The function numbers are in the left-most column (highlighted in yellow), followed by the output values (not highlighted) and the parameter values (highlighted in yellow). The right-most column is an interpretation of the hex data as text, which isn't much use for a BHAV resource.

decimal view of BHAV 4096