83Plus:OS:Certificate/Headers:Fields:807

From WikiTI
Revision as of 14:24, 9 May 2014 by Dr. D'nar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Field Number: 807h

Purpose Last Field

Parent 800 - Flash Variable

Usual Size Fh - 00000000h

This field signals the end of an app or OS header. It's usually given a 4-byte length field---suggesting that the rest of the app or OS is part of this field---but the length is always specified as zero, and you can just write this as 80 70 instead of 80 7F 00 00 00 00.

Usually, padding follows this. However, the OS starts app execution on the byte following this field (so long as the header is less than 128 bytes total), so there's no need for padding. Just put your first instruction after 80 70.