Concerns on Friday over US President Donald Trump's mental state have drawn focus on his power to unleash a nuclear attack.

Two days after Trump supporters, under his encouragement, stormed the US Capitol and shut down Congress, House Speaker Nancy Pelosi said she had contacted the Pentagon's top general, Mark Milley, to understand how to prevent "an unhinged president" from using the secret nuclear launch codes to order a nuclear strike.

As Milley presumably told her, the US constitution gives the president the sole power to launch a nuclear weapon.

Congress cannot interfere, and the leaders of the Pentagon, the generals and civilians, are bound to transmit his order, whether they agree with it or not.

Everywhere he travels, the president is accompanied by an aide carrying the "nuclear football", a bag containing instructions, attack plans and codes for initiating a nuclear strike that only the president can use.

Given the need to consider the justification, what equipment to use and what targets are chosen, such a decision would normally be done in consultation with defense chiefs.

But once the president decides -- whether after much deliberation or in a fit of anger -- "neither the military nor Congress can overrule these orders," said a December report on nuclear command and control from the Congressional Research Service.

The only restriction on the US leader in this case is the legality of the strike. The laws of war would allow a military official to refuse to execute an order to do something illegal.

"But questions about the legality of the order -- whether it is consistent with the requirements, under the laws of armed conflict for necessity, proportionality, and distinction -- are more likely to lead to consultations and changes in the president's order than to a refusal by the military to execute the order," according to the Congressional Research Service report.

If the president does decide to order a strike, he would normally consult the military chiefs for his options.

Nuclear weapons: an unarmed US Minuteman III intercontinental ballistic missile, which can carry a nuclear warhead, in a test launch from California over the Pacific Ocean
Nuclear weapons: an unarmed US Minuteman III intercontinental ballistic missile, which can carry a nuclear warhead, in a test launch from California over the Pacific Ocean US AIR FORCE / Clayton WEAR

In the "football", he would find options for the attack and communications equipment to formally order it.

He would make use of a card of codes unique to himself, called the "biscuit", to certify his identification as the commander-in-chief empowered to order a launch.

The launch order would then be transmitted to the US Strategic Command, where an officer would confirm it came from the president and execution would take place.

It could be as little as two minutes from order to the launch of a ground-based nuclear-tipped missile, or 15 minutes from a submarine.

"People in the chain of command might technically refuse to obey an order, but a verified order is presumed to be legal," said Derek Johnson of the anti-nuclear organization Global Zero.

"Pressure to obey would be massive."

In all of this, there are no exceptions in the system of nuclear command and control for a scenario in which the president is seen to be mentally unstable and ignores the advice of his generals.

In that case, the only option -- which Pelosi has called for in the case of Trump -- is to invoke the constitution's 25th amendment on removing a president from power.

sl/pmh/dw