Crossware

Table of Contents        Previous topic       Next topic       

ASSEMBLER DIRECTIVES->Other Assembler Directives->FDB

FDB    Form double constant byte

This directive inserts a series of double byte values into the object code. The format is:

    FDB [Exprn],[Exprn],[Exprn],....

The expressions are sequentially evaluated and the two byte values generated are stored sequentially in the program object code. As with FCB, if an expression is null (nothing is written between the commas or before the first comma) then zero is assigned.

Example:

   1                           nam     fdbxampl    
   2                           ttl     form double byte
   3 79F1            variable  equ     $79F1       
   4 0000 00 00 91   label     fdb     ,$9132,,variable,$16
     0003 32 00 00
     0006 79 F1 00
     0009 16