improvements to GenBCode

- catching up with GenASM
- two fixes (overly restrictive asserts) 
- readability

Review by @gkossakowski