update flags for logic instructions
fix jrnz
Merge branch 'feature-flags' into develop