FORTH and Threaded Interpretive Languages

first previous next last


Max-Gerd Retzlaff, 5. July 2008

https://entropia.de/GPN7

Jonesforth by Richard W. M. Jones

DIRECT THREADED CODE ---------------------------------------------------------------- 08 00 00 00 <- We're executing this one now. %esi is the _next_ one to execute. %esi -> 1C 00 00 00 2C 00 00 00 LODSL 08 00 00 00 <- We're still executing this one 1C 00 00 00 <- %eax now contains this address (0x0000001C) %esi -> 2C 00 00 00 JMP *(%eax) 08 00 00 00 1C 00 00 00 <- Now we're executing this subroutine. %esi -> 2C 00 00 00 7