Remote-processing BASIC 52 Manual do Utilizador Página 47

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 163
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 46
RPBASIC-52 PROGRAMMING GUIDE
2-28
DBY
Syntax: A=DBY(expr)
DBY(expr)=variable
Where: expr = 0 to 255
variable = 0 to 255
Function: Read/write internal data memory.
Mode: Command, run
Use: DBY(0F0H) = 45H
A=DBY(100)
Cards: All
DESCRIPTION
The D BY instruction retrieves or assig ns a value to the 8052 internal data m emory. expr and variable must
both must be between 0 and 255 since there are only 256 internal memory locations and one byte can only be
between 0 and 255.
RPBASIC-52 uses many internal memory locations for its own use. Change internal memory with caution or
Basic may malfunction. Locations 1BH through 21H may be used in any way you wish.
RELATED
CBY, XBY
ERROR
BAD ARGUMENT Invalid expr value, such as DBY(256) or attempt to assign an invalid value to a
DBY(expr), such as DBY(18H)=1000.
EXAMPLE
100 DBY(1EH) = 234
110 PRINT DBY(1EH)
>run
234
Vista de página 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 162 163

Comentários a estes Manuais

Sem comentários