grigory-rechistov / interpreters-comparison

Sample programs for comparison of different VM interpretation techniques
BSD 3-Clause "New" or "Revised" License
30 stars 11 forks source link

Create fully-inlined translated version #8

Closed grigory-rechistov closed 8 years ago

grigory-rechistov commented 8 years ago

Currently translated variant uses MOV; CALL generated sequences to drive simulation to individual service routines. A fully inlined variant should insert copies of service routines in the generated code section. This will save a pair of call/return.

The steps required to complete the task:

  1. Create relocatable service routines (possibly in assembler)
  2. Make sure the state is passed and modified correctly
  3. Modify the translated to copy capsules instead of CALL machine code.
Vipon commented 8 years ago

I take it.

grigory-rechistov commented 8 years ago

Closed in #23