Prev: 13477 Up: Map Next: 13491
13484: THE 'PEEK' FUNCTION (offset 43)
The address of this routine is found in the table of addresses. It is called indirectly via fp_calc_2.
This subroutine handles the function PEEK X. The 'last value' is unstacked by calling FIND_INT2 and replaced by the value of the contents of the required location.
peek 13484 CALL FIND_INT2 Evaluate the 'last value', rounded to the nearest integer; test that it is in range and return it in BC.
13487 LD A,(BC) Fetch the required byte.
This entry point is used by the routine at f_in.
IN_PK_STK 13488 JP STACK_A Exit by jumping to STACK_A.
Prev: 13477 Up: Map Next: 13491