A "BASIC stub" is a BASIC program attached to the start of a binary file.
The file has the following form:
|BASIC stub||Binary program & data|
The simplest BASIC stub is:
10 CALL <execution address>
where <execution address> is the address to start executing the binary program from.
10 CALL &17C