Thanks for reply,
But of course the mega8 chip would have to have the proper bootloader code and fuse settings burned into the chip before it could work with the board and the arduino IDE.
my question is, how to burned proper bootloader code in mega8, i have directly purchased form market, do i need to follow some process before using on Atmega328 board,
and my ans of second question is,
First off all i ll load program from arduino board 328 and removed Atmega8
(why i want to use atmega8 bcoz of my program size is 1kb only and atmega8 is much cheaper than 328 so i dont want to spend 328 for this small code, and ya i dont have atmega8 board to load programm thats y i want to use 328 board.)
and by this method i ll get out put form mega8
thanks.