comp16-v1-skel.py: fixed 16-imm logic, implemented rules for most opcodes