From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Ada versus Pascal
Date: Mon, 25 Oct 2021 11:23:49 +0300 [thread overview]
Message-ID: <itn7slFptmsU1@mid.individual.net> (raw)
In-Reply-To: <sl4psf$s0k$1@gioia.aioe.org>
On 2021-10-25 2:24, 711 Spooky Mart wrote:
> Does modern Ada have facility for writing boot loaders, inline Assembly,
> kernels, etc.?
In-line assembly is supported by most of the Ada compilers I have used,
but the syntax may differ across compilers.
The run-time systems (real-time kernels) associated with Ada compilers
for bare-board embedded systems are typically written in Ada, with minor
amounts of assembly language inserted for the very HW-specific parts
such as HW context saving and restoring.
I'm not very familiar with boot loaders, but I see no reason why a boot
loader could not be written in Ada. However, usually (and as for other
languages) there will be a small start-up routine in assembly language
to initialize the processor, set up a stack, and so forth. The "Ada Bare
Bones" project is doing something like this, I believe:
https://wiki.osdev.org/Ada_Bare_bones.
next prev parent reply other threads:[~2021-10-25 8:23 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-22 3:29 Ada versus Pascal 711 Spooky Mart
2021-10-22 6:18 ` ldries46
2021-10-22 9:59 ` 711 Spooky Mart
2021-10-22 15:12 ` Niklas Holsti
2021-10-22 15:47 ` Dmitry A. Kazakov
2021-10-23 7:13 ` ldries46
2021-10-23 14:08 ` Simon Wright
2021-10-22 6:40 ` Paul Rubin
2021-10-22 8:57 ` Niklas Holsti
2021-10-22 11:49 ` Jeffrey R.Carter
2021-10-22 17:05 ` Dennis Lee Bieber
2021-10-23 0:29 ` Paul Rubin
2021-10-23 1:17 ` Randy Brukardt
2021-10-23 17:24 ` Dennis Lee Bieber
2021-10-24 7:04 ` J-P. Rosen
2021-10-22 20:00 ` Gautier write-only address
2021-10-24 4:33 ` Jerry
2021-10-24 6:32 ` ldries46
2021-10-24 16:51 ` Gautier write-only address
2021-10-24 23:24 ` 711 Spooky Mart
2021-10-25 8:23 ` Niklas Holsti [this message]
2021-10-25 8:40 ` Luke A. Guest
2021-10-25 13:34 ` Luke A. Guest
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox