Last I checked, the Gameboy Advance uses C++ (and some extra instructions

)
It has to emulate the older games to play them I believe since the instructions on the older carts were different. GBA also uses PCM waves for sfx/music and can use Midi for music

(which means it probably has a wavetable for custom instrument samples)