| back |  | Last regenerated: 2022-04-20 17:31:36 kio

# zasm - Z80 Assembler – Version 4.4

# Pseudo instructions

[<prev] [next>]

| ### defs, ds, .ds, .block, .blkb and data
    defs   <value1> [,<value2>]
    Pseudo instructions: defs, ds, .ds, .block, .blkb and data
    8080 pseudo instructions: DSds     <value1> [,<value2>]
    .block <value1> [,<value2>]
    .blkb  <value1> [,<value2>]
    data   <value1>
This Pseudo instructions 8080 Assembler: 8080 pseudo instructions pseudo instruction inserts a block of <value1> bytes into the current code or data segment. The default fill pattern is $FF for ROMs and $00 for all other target formats. Assembler directives: #if, #elif, #else, #endif Pseudo instructions: if, endif If you append a <value2>, this byte is used as pattern instead. Assembler directives: #if, #elif, #else, #endif Pseudo instructions: if, endif If the current segment is a data segment, then no fill pattern is allowed, as no actual code is stored. Instruction 'data' is only allowed in a data segment and therefore it can never have a fill pattern assigned. Multitiple names are recognized to support sources for different assemblers. `defs` or `Pseudo instructions: defs, ds, .ds, .block, .blkb and data 8080 pseudo instructions: DSds` are recommended, the others are deprecated for new source. |

[<prev] [top] [next>]