[Main]
Name=GetAMSSize
Type=Function
Subtype=Macro
Header Files=flash.h
Definition=unsigned long GetAMSSize (void);
Real Definition=#define GetAMSSize() ((*((unsigned long *)(((char *) ROM_base) + 0x12002))) + 0x49)

[Description]
Returns the size of the system code.

[Explanation]
GetAMSSize returns the size of the system code of the AMS.
Note that it is not the size of the bootcode, which is less than 64K.
