The saddr memory access method
In this section:
Saddr (short addressable area) memory is a 256-bytes area located in near memory. It can be accessed using an 8-bit address or via a near pointer.
Examples
These examples access saddr memory in different ways:
mov a, s:x ; Access the global variable x.
mov hl, #y ; Access an entry in the
addw ax, hl ; global array y.
movw hl, ax
mov a, [hl]
mov a, [hl+2] ; Access through a pointer.