add op_code enum

Signed-off-by: Jack <jack.wgm@gmail.com>