RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account
Forums → Community Support →

What does EXIT and Entry do s.UART

Subscribe to What does EXIT and Entry do s.UART 4 posts, 3 voices

 
Jan 11, 2021 10:42pm
Avatar Timo Hartong (2813) 185 posts

On a number of lines the word Entry is used ( for example in HAL_UARTRate ) what does it do ?.
The same applies for EXIT ( just before HAL_UARTRate )
It is important to know because if I use LDR a1, [a1, #:INDEX:UARTBases] after it it will crash RISC-OS

 
Jan 11, 2021 10:45pm
Avatar Steve Pampling (1551) 6517 posts

Entry and EXIT are calls to the Macros in the DDE build environment

 
Jan 12, 2021 11:48am
Avatar Julie Stamp (8365) 261 posts

In this case, Entry is defined here and EXIT is defined here.

Entry pushes lr, plus any optionally specified registers, and optionally makes room for local variables. EXIT returns from the procedure started by the last Entry.

 
Jan 17, 2021 11:33am
Avatar Timo Hartong (2813) 185 posts

Thanks now I know what it is doing

Reply

To post replies, please first log in.

Forums → Community Support →

Search forums

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Description

Community-provided support for all users of RISC OS.

Voices

  • Timo Hartong (2813)
  • Steve Pampling (1551)
  • Julie Stamp (8365)

Options

  • Forums
  • Login
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Beast theme is based on Beast's default layout

Valid XHTML 1.0  |  Valid CSS

Powered by Beast © 2006 Josh Goebel and Rick Olson
This site runs on Rails

Hosted by Arachsys