Maybe maybe not. It depends on the slot-limitations; some older boards have a 256MB limit on the slot. If you run into that limitation there are two possibilities: (a) the system wont start up or (b) the 512 will read as a 256
Also, there are board limitations but generally that wont be a problem