Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bool
#10
slenkar Wrote:thanks, what is the value of 'address'?
on the line that starts with:poke address
Any address or pointer...
Code:
poke @booltable+1,(peek booltable+1)|(switch4<<4) 'use second bytes 4 th bit
end

booltable:
asm
  defb 0,0,0,0,0,0,0,0  ;8 bytes=64 bool bits
end asm
Boriel also wanted to add SETBIT, RESETBIT and TESTBIT commands, but existing binary operations are good enough because you can manipulate multiple bits at once.
------------------------------------------------------------
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)