Technical answer: NASM does not store any type information with labels; to NASM, a label simply is a reference to some address. The concept of a "variable" is not built into NASM. Therefore, you have to figure out yourself what size your "variables" have.