bytecode generation base