hack asm library to provide bci