4 ; Evaluation of BASIC expressions
9 ;----- Overview -------------------------------------------------------------
19 [ :LNOT::DEF:express__dfn
26 ; On exit: R0,R1 == value popped off
28 ; Use: Pops a value from the stack.
32 ; --- express_popTwo ---
36 ; On exit: R0-R3 == two values popped from the stack
38 ; Use: Pops two values from the stack.
42 ; --- express_push ---
44 ; On entry: R0,R1 == l/rvalue to push
48 ; Use: Pushes a value onto the expression stack.
52 ; --- express_fnCont ---
56 ; On exit: Similarly involved.
58 ; Use: We continue here after executing a function.
62 ; --- express_read ---
64 ; On entry: R0 == 1 to read an lvalue, 2 to read ident, 0 otherwise
65 ; R7, R8, R9 == lookahead token
66 ; R10 == pointer into tokenised buffer
67 ; R11 == evaluation stack pointer
68 ; R12 == anchor pointer
70 ; On exit: R0,R1 == value of expression
71 ; R7, R8, R9 == lookahead token
72 ; R0, R1 == result of expression
73 ; R10 == moved on to first char after expression
75 ; Use: Reads an expression for the current position in the
82 ;----- That's all, folks ----------------------------------------------------