if i have the asm and hex file for a PIC that i am going to program, can i know what space it will occupy in the memory of the PIC. actually i want to know if the program i have written will overflow the memory space or not.
when you assemble your asm file via MPLAB you should also get an assembler listing where you will find all the information you want to know.
Also in MPLAB goto window -> program memory and you should see the hexdump of your program. If you have selected the correct chip you are using before assembling you should also see here if there is any unused memory in your chip.