Marlin g-codes applicable for a Melzi Sanguino board
As already written in the comments the software defines what G-Codes are taken by a (printer) boardBUT Even if the software has the same name (eg Marlin) it might behave different on different boards because of:


different release versions for different hardware
different release repositories being ahead or behind the master repo
hardware specific features a G-code triggers (most unlikely)


The clever way is to go from features I need to software supporting thosefeatures to boards supported AND useable for my hardware to controll (3d-printer/CNC-router/laser-cutter aso) 
  -