|
align <value> [, <fillbyte>]
e.g.:
align 8
Add #code: Fill Byte #code: Fill Bytefill bytes until the current logical address is a multiple of the given value.
Base for the alignment is the current logical code address, as accessible with '$'.
Positive addresses can be aligned to any value. Assembler directives: #if, #elif, #else, #endif Pseudo instructions: if, endifIf you happen to organize your addresses from -0x8000 to +0x7FFF then negative addresses can only be aligned to 2^N.
Assembler directives: #if, #elif, #else, #endif Pseudo instructions: if, endifIf only one argument is given, then 'align' inserts the default #code: Fill Byte #code: Fill Bytefill byte; 0xFF for target ROM and 0x00 for all others.
Assembler directives: #if, #elif, #else, #endif Pseudo instructions: if, endifIf a different #code: Fill Byte #code: Fill Bytefillbyte is required, then it can be appended as a second argument.
align $100, 'E'|0x80
| |