intel MCS BASIC-52 — Intel MCS BASIC-52 Versions 1 & 1.1 Operating and Reference Manual PDF (EN)

int e l 9.4 SPECIAL OPERATORS The next group of instructions place a value on the stack. The value placed on the stack is as follows: OPBYTE = 38 (26H) -- PI [TOS] = PI. PI (3.1415926) is placed on the [TOS]. OPBYTE = 39 (27H) -- RND [TOS] = RND. A random number is placed on the [TOS]. OPBYTE = 40 (28H) -- GET [TOS] = GET. The value of the SPECIAL FUNCTION OPERATOR, GET is put on the [TOS]. OPBYTE = 41 (29H) -- FREE [TOS] = FREE. The value of the SYSTEM CONTROL VALUE, FREE is put on the [TOS]. OPBYTE = 42 (2AH) -- LEN [TOS] = LEN. The value of the SYSTEM CONTROL VALUE, LEN is put on the [TOS]. OPBYTE = 43 (2BH) -- XTAL [TOS] = XTAL.

The value of the SPECIAL FUNCTION OPERATOR, XTAL is put on the [TOS]. OPBYTE = 44 (2CH) -- MTOP [TOS] = MTOP. The value of the SYSTEM CONTROL VALUE, MTOP is put on the [TOS]. - 115 -