adds constant boolean table
Changes global variables to mem_address