Virtual machine design and implementation (C/C++) part1