I was reading through to learn how the last part of the third AI byte (Target) works.
In summary of what @Gryz has put (as well as looking through fe 6) it would appear that:
00 = Prioritize damage taken more than 8 but much less than 10
prioritize accuracy more than 8 but much less than 20
(For intelligent enemies like bosses)
08 = Prioritize damage (Standard)
10 = Prioritize damage taken (Jaffar)
20 = Prioritize accuracy (Never used in Fe 7)
28 = Archers
In Fe 7, 08 is the standard while 00, 28, & 10, are used for a few commanders, almost every archer, and a few units who want to live (mainly NPC jaffar) respectivly.
In Fe 6, 00 is the standard behavior (used by most of the army), 08 is for the brigands at the beginning and some mercenaries, 10 is used by staff wielders,
20 I found to be used by a single poison axe user, and 28 is almost every bow user in the game.
I may do some more testing on how 28 works (something to do with adjacent allies maybe?) if I do I’ll put my results here.