Futurebasic/Language/Reference/beginassem

Statement
✔ Appearance ✔  Standard ✔  Console

Syntax
BeginAssem assembly_statements EndAssem

Description
Marks the beginning of a block of assembly-language statements. The block must be terminated with the  statement. The statements are assembled directly into the compiled program and executed when the program is run.

Each line in the  block should be in this format:

Note that there should be at least one space character separating each of the four fields of this line. In particular, if  is omitted, you must include at least one leading space in front of. But if  is included, then there should be no leading space to the left of label. To make a nicely formatted listing, use the TAB key to separate the fields.

You can also create assembly-language statements without using the  and   statements, by preceding each assembly statement line with a “grave accent” character (that’s the character to the left of the “1” on the keyboard. It looks like a “backwards” apostrophe:  ):

This method has the disadvantage that you can’t specify a cpuType for each group of lines: assembly lines that begin with the “ ” mark are always assembled according to the “preferred CPU,” using the rules given above. It’s important that you understand which CPU your assembly statements are being assembled for, and that your statements are appropriate for that CPU. You can use the  statement to exclude your assembly statements from inappropriate compilations.