Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About constants
#6
I just tried to use the inline ASM:
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
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?
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)