However, the other two types of magic actually did have S-Level tomes programmed into the game. When the actual storyline was made the two tomes were never added. Despite that, the tomes were left in the game. Because of this, it is possible to acquire the tomes using Action Replay.
The codes I use change the 2nd Weapon in Ike's Inventory to the weapon that the code is for. If there is no weapon in the 2nd Slot, the weapon for the code will appear with 0 uses remaining. Also, depending on the weapon you chose to use for the code, it may be impossible to drop it. One less spot in your overall inventory.
Here are the codes in raw format followed by Action Replay format:

Rexcalibur
042B16B8 80934E08
AQMU-FTZF-0H4E7
GKRE-MZVP-YNXEG

Rexflame
042B16B8 80934C58
NWR8-33A7-8CNFY
4CB0-UW7C-MBQ48
I also have codes for generating Rexbolt and Rexaura tomes, so I might as well add them.



Rexbolt
042B16B8 80934F70
Y417-WXGT-A7CE5
8J46-997U-H732A

Rexaura
042B16B8 809350D8
QZC2-9DZ2-3BK02
7UV3-V6R2-X8524
Raw format codes are courtesy of:
http://www.arcentral.net/otherGames/Emblem.html for Ike Weapon Modifiers
http://arcentral.net/desc/FE_PoR_q_digits.html for Individual Weapon Modifier Codes
http://arcentral.net/desc/FE_PoR_q_digits.html for Individual Weapon Modifier Codes
I posted videos of each of these tomes on YouTube. The videos start by showing me activating the codes through Action Replay. I added that so people could not say the animation was fake.
Rexcalibur: http://www.youtube.com/watch?v=reEfG7UJUxw