G
g.franzkowiak
Hi everybody,
my interest is for the internals of the Python interpreter.
I've used up to now FORTH for something and this indirect interpreter is
very smart.
--- ASM ---------------------------------------------------------------
NEXT: LODSW ; WA <- [IP]
; IP <- IP+2
MOV T,WA ; T <- WA1 (CFA)
JMP [T] ; JMP [CFA]
--- C -----------------------------------------------------------------
for (;
{
w = *ip++;
(**w) ();
}
my interest is for the internals of the Python interpreter.
I've used up to now FORTH for something and this indirect interpreter is
very smart.
--- ASM ---------------------------------------------------------------
NEXT: LODSW ; WA <- [IP]
; IP <- IP+2
MOV T,WA ; T <- WA1 (CFA)
JMP [T] ; JMP [CFA]
--- C -----------------------------------------------------------------
for (;
{
w = *ip++;
(**w) ();
}