Assembler directives: #assert Pseudo instructions: #assert#assert <condition>
.Assembler directives: #assert Pseudo instructions: #assertassert <condition>
Assembler directives: #assert Pseudo instructions: #assertAssert that the given condition is true.
This directive might be used to detect logical or overflow errors in your source. It is used by zasm itself to Assembler directives: #assert Pseudo instructions: #assertassert that loaded library files actually defined the Pseudo instructions: Label definition Numeric expressions: Labels 8080 Assembler: Labelslabel they promissed to define. It is also used in zasm's assembler test suite.
Assembler directives: #assert Pseudo instructions: #assert#assert ( $ & 7 ) == 0 ; Assembler directives: #assert Pseudo instructions: #assertassert that current code position
; is a multiple of 8
.area GSINIT
.Assembler directives: #assert Pseudo instructions: #assertassert DATA_size > 1 ; else ldir will run amok
ld bc,DATA_size - 1
ld de,DATA + 1
ld hl,DATA
ld (hl),0
ldir
|