Skip to content

title: "CreatePointer" description: TRSE built-in method (from IDE help)


CreatePointer

Systems: MOS6502
Parameters: b,b


CreatePointer( [byte hi], [byte lo] );

  • [byte hi] - high byte value
  • [byte lo] - low byte value

Description

Creates a pointer from (hi byte, lo byte).

Example

var p:pointer; i:=CreatePointer($04, b); // Creates a pointer to $0400 + the value in "b"