ECHE UNA OJEADA la Función

Objetivo:

Leer de una posición de memoria especificada.

Sintaxis:

 OJEADA (a) 

Comentarios:

Devuelve el byte (número entero decimal dentro de la variedad de 0 a 255) leído de la posición de memoria especificada a. deber ser dentro de la variedad de 0 a 65535.

El DEF SEG declaración última ejecutado determina la dirección absoluta que será echada una ojeada en.

La OJEADA es la función complementaria a la declaración EMPUJARÉ.

Ejemplos:

 10 A=PEEK (*H5A00) 

El valor del byte, almacenado en el maleficio adjudicado por el usuario compensó la posición de memoria 5A00 (23040 decimal), será almacenado en A. variable

 

PEEK Function

Purpose:

To read from a specified memory location.

Syntax:

PEEK(a)

Comments:

Returns the byte (decimal integer within the range of 0 to 255) read from the specified memory location a. a must be within the range of 0 to 65535.

The DEF SEG statement last executed determines the absolute address that will be peeked into.

PEEK is the complementary function to the POKE statement.

Examples:

10 A=PEEK(&H5A00)

The value of the byte, stored in user-assigned hex offset memory location 5A00 (23040 decimal), will be stored in the variable A.

1