jserv / full-stack-hello

minimal instruction set and assembler/compiler for "Hello World" execution
Other
114 stars 50 forks source link

Change opcode impl hook method #3

Closed mlouielu closed 7 years ago

mlouielu commented 7 years ago

Original opcode impl hook is hooked on each instruction, this design is inefficient when hooking impl and used more memory for each instruction.

Now seperate opcode impl from each instruction, to a opcode_impl array, which made hooking stage much faster.

Relate to #1