03-10-2009, 07:43 PM
I just tried to use the inline ASM:
I got two warnings:
dest and source are never used (?) and undefined label "_source" (surely also undefined label "_dest") was critized.
The fact is, these variables are used. I wonder also why the _source and _dest are undefined labels, even if I try to use source=0 and dest=0 in the source. I checked the asm output, but only _a was defined with defb. Btw: PRINT was not used, but it was included in the asm source.
I'm using the version 1.1.0 by the way.
Maybe you know the reason?
Code:
dim source as uinteger
dim dest as uinteger
dim a as ubyte
for a=0 to 191
source=a*32
dest=16384+a*32
asm
ld hl,(_source)
ld de,(_dest)
ld bc,32
ldir
end asm
next a
dest and source are never used (?) and undefined label "_source" (surely also undefined label "_dest") was critized.
The fact is, these variables are used. I wonder also why the _source and _dest are undefined labels, even if I try to use source=0 and dest=0 in the source. I checked the asm output, but only _a was defined with defb. Btw: PRINT was not used, but it was included in the asm source.
I'm using the version 1.1.0 by the way.
Maybe you know the reason?
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!