Difference between revisions of "83Plus:OS:Certificate/Headers:Fields:807"

From WikiTI
Jump to: navigation, search
(Created page with '807 - Last Field 807 - Last Field == Synopsis == '''Field Number…')
 
(rewrote description for accuracy)
 
Line 9: Line 9:
 
'''Usual Size''' Fh - 00000000h
 
'''Usual Size''' Fh - 00000000h
  
This is always the last field in an OS or app header before the actual OS or app is sent. Its size is alway Fh - 00000000h and it is usually padded so that OS/app starts in the right place.
+
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.

Latest revision as of 14:24, 9 May 2014

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.