11.07.2015 Views

PICBASIC PLUS LITE Manual - Profe Saul

PICBASIC PLUS LITE Manual - Profe Saul

PICBASIC PLUS LITE Manual - Profe Saul

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>PICBASIC</strong> <strong>PLUS</strong> Compiler5.48. POKESyntax :Overview :Operators :POKE Address , VariableAssign a value to a register.Address can be a constant or a variable, pointing to the address of aregister.Variable can be a constant or a variable.Example : A = 15POKE 12 , A ‘ Register 12 will be assigned the value 15.POKE A , 0 ‘ Register 15 will be assigned the value 0Notes :Use of the POKE command is not recommended. A more efficientway of assigning a value to a register is by accessing the register directly:-REGISTER = VALUESee also :PEEK91Copyright Crownhill 2001

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!