program exit

General discussions about working with the Astrobe IDE and programming ARM Cortex-M3, M4 and M7 microcontrollers.

program exit

Postby steve64 » Tue Jul 24, 2018 7:57 am

What's the internal behavior in case of omitting an endless loop at the end of the main program module?
Posts: 41
Joined: Mon Jul 09, 2018 8:56 am
Location: Italy

Re: program exit

Postby cfbsoftware » Tue Jul 24, 2018 11:15 am

You do not need to add an endless loop to the end of the main program module. The instruction following the return from Main is:

Code: Select all
self: b.w self
Site Admin
Posts: 395
Joined: Fri Dec 31, 2010 12:30 pm

Return to Astrobe for ARM Cortex-M3, M4 and M7