tests for null case
map implemented in assembly language