V.
SUBROUTINES (cont.)
Second are the defined register usages when interfacing at the
machine language level with SOLOS.
Whenever a machine program is executed by SOLOS (via the EXEC or
XEQ command, or via a custom command), the stack pointer and HL
registers are predefined by SOLOS
>
. The stack pointer is set
such that the user may perform stacking operations which will
use the SOLOS stack. The SOLOS stack begins at the end of the
SOLOS RAM area and works its way down from there. Excessive use
of this stack can destroy data maintained by SOLOS within its
RAM area. The stack is also prepared so that the user may issue
a standard RET instruction to return control to SOLOS command
mode processor.
The HL register pair is initialized to point to the very beginning
of SOLOS. It is at this point that the SOLOS jump table begins.
The user program may then use the address presented in the HL
register pair as the beginning of the jump table.
This address is provided for two reasons:
1. CUTER may be located at any address in memory, providing the
means for programs to function with CUTER located at any
address, and
2. the first byte of the jump table for SOLOS is different from
the first byte for CUTER, providing an easy means of dis-
tinguishing between SOLOS and CUTER.
Third is the SOLOS jump table (see next page). All requests to SOLOS
should be made based on this jump table and not to the actual routine
addresses as scattered throughout SOLOS. By using only this jump
table, the user can be assured of maintaining compatibility between
SOLOS and CUTER.
15
Summary of Contents for Sol-PC
Page 35: ......
Page 89: ......
Page 90: ......
Page 91: ......
Page 92: ......
Page 93: ......
Page 94: ......
Page 95: ......
Page 96: ......
Page 97: ......
Page 98: ......
Page 99: ......
Page 100: ......
Page 101: ......
Page 102: ......
Page 103: ......
Page 104: ......
Page 105: ......
Page 106: ......
Page 107: ......
Page 108: ......
Page 151: ...VIII 11...
Page 167: ...VIII 27...
Page 186: ......
Page 187: ...SECTION IX SOFTWARE Sol TERMINAL COMPUTERTM Processor Technology...
Page 191: ......
Page 197: ......
Page 223: ......
Page 224: ......
Page 225: ......
Page 226: ......
Page 227: ......
Page 228: ......
Page 229: ......
Page 230: ......
Page 231: ......
Page 232: ......
Page 233: ......
Page 234: ......
Page 235: ......
Page 236: ......
Page 237: ......
Page 238: ......
Page 239: ......
Page 240: ......
Page 241: ......
Page 242: ......
Page 243: ......
Page 244: ......
Page 245: ......
Page 246: ......
Page 247: ......
Page 248: ......
Page 249: ......
Page 250: ......
Page 251: ......
Page 252: ......
Page 253: ......
Page 254: ......
Page 255: ......
Page 256: ......
Page 257: ......
Page 258: ......
Page 259: ......
Page 260: ......
Page 261: ......
Page 262: ......
Page 263: ......
Page 264: ......
Page 265: ......
Page 266: ......
Page 267: ......
Page 268: ......
Page 269: ......
Page 270: ......
Page 271: ......
Page 272: ......
Page 273: ......
Page 274: ......
Page 275: ......
Page 276: ......
Page 277: ......
Page 278: ......
Page 279: ......
Page 280: ......
Page 281: ......
Page 282: ......
Page 283: ......
Page 284: ......