version 1.1, 2001/05/01 10:20:55
|
version 1.2, 2002/08/20 07:59:02
|
Line 38
|
Line 38
|
\E s" Inst *" single data-stack type-prefix target |
\E s" Inst *" single data-stack type-prefix target |
|
|
\ simple VM instructions: |
\ simple VM instructions: |
add ( i1 i2 -- i ) |
add ( i1 i2 -- i ) |
i = i1+i2; |
i = i1+i2; |
|
|
sub ( i1 i2 -- i ) |
sub ( i1 i2 -- i ) |
Line 78 SET_IP(target);
|
Line 78 SET_IP(target);
|
zbranch ( #target i -- ) |
zbranch ( #target i -- ) |
if (i==0) { |
if (i==0) { |
SET_IP(target); |
SET_IP(target); |
TAIL; |
INST_TAIL; |
} |
} |
|
|
\ The stack is organized as follows: |
\ The stack is organized as follows: |