each was armed with eight aim-120 amraam medium range air-to-air missiles , modified to deliver fragmentation warheads , and an aim-54 phoenix long range air-to-air missile , as well as their standard 20 mm m61a1 gatling guns .