implementing bitmap -- see nitro_x86.c:84