comp.lang.ada
 help / color / mirror / Atom feed
* Thanks
@ 1987-06-05  9:29 A-PIRARD
  0 siblings, 0 replies; 11+ messages in thread
From: A-PIRARD @ 1987-06-05  9:29 UTC (permalink / raw)


I received so many answers to my IBM 370 VM/CMS query it is easier
to thank through the net.
Ada people are nice people...
Greetings from Belgium.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Ada and Assembler
@ 2002-03-31 13:10 Henrik Quintel
  2002-03-31 13:34 ` David C. Hoos, Sr.
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Henrik Quintel @ 2002-03-31 13:10 UTC (permalink / raw)


Dear all,
is it possible to link an external assembler file to an Ada program and to
call an assembler operation from an Ada program?
If yes, please let me know how. Perhaps it is also possible to include
assembler code direct in the Ada Code? I have searched in the AARM but I
haven't found anything that has something to do with interfacing to
assembler code. So it would be very friendly if someon ecan give me a hint
for this problem.

Thanks in adavance.

Yours Henrik





^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Ada and Assembler
  2002-03-31 13:10 Ada and Assembler Henrik Quintel
@ 2002-03-31 13:34 ` David C. Hoos, Sr.
  2002-03-31 14:02 ` Dr. Michael Paus
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 11+ messages in thread
From: David C. Hoos, Sr. @ 2002-03-31 13:34 UTC (permalink / raw)



----- Original Message ----- 
From: "Henrik Quintel" <henrik.quintel@gmx.de>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: March 31, 2002 7:10 AM
Subject: Ada and Assembler


> Dear all,
> is it possible to link an external assembler file to an Ada program and to
> call an assembler operation from an Ada program?
> If yes, please let me know how. Perhaps it is also possible to include
> assembler code direct in the Ada Code? I have searched in the AARM but I
> haven't found anything that has something to do with interfacing to
> assembler code. So it would be very friendly if someon ecan give me a hint
> for this problem.
>
The Ada terminology for what you are wanting is Machine Code Insertions.

Please consult your compiler documentation for information on that subject.

David Hoos
 
> Thanks in adavance.
> 
> Yours Henrik
> 
> 
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
> 
> 





^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Ada and Assembler
  2002-03-31 13:10 Ada and Assembler Henrik Quintel
  2002-03-31 13:34 ` David C. Hoos, Sr.
@ 2002-03-31 14:02 ` Dr. Michael Paus
  2002-03-31 21:09 ` John R. Strohm
  2002-04-01 15:13 ` Thanks Henrik Quintel
  3 siblings, 0 replies; 11+ messages in thread
From: Dr. Michael Paus @ 2002-03-31 14:02 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 578 bytes --]

Henrik Quintel schrieb:
> 
> Dear all,
> is it possible to link an external assembler file to an Ada program and to
> call an assembler operation from an Ada program?
> If yes, please let me know how. Perhaps it is also possible to include
> assembler code direct in the Ada Code? I have searched in the AARM but I
> haven't found anything that has something to do with interfacing to
> assembler code. So it would be very friendly if someon ecan give me a hint
> for this problem.

Would that fit your needs?

http://www.adapower.com/articles/gnatasm/inline_asm_1.html

Michael

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Visitenkarte f�r Dr. Michael Paus --]
[-- Type: text/x-vcard; charset=us-ascii; name="paus.vcf", Size: 332 bytes --]

begin:vcard 
n:Paus;Michael
tel;cell:0177-2238312
tel;fax:+49-(0)711-765-4095
tel;home:+49-(0)711-765-1493
tel;work:+49-(0)711-765-4094
x-mozilla-html:FALSE
url:www.ib-paus.com
org:Ingenieurb�ro Dr. Paus
adr:;;Sch�naicher Str. 3;Stuttgart;;70597;Germany
version:2.1
email;internet:paus@ib-paus.com
fn:Dr. Michael Paus
end:vcard

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Ada and Assembler
  2002-03-31 13:10 Ada and Assembler Henrik Quintel
  2002-03-31 13:34 ` David C. Hoos, Sr.
  2002-03-31 14:02 ` Dr. Michael Paus
@ 2002-03-31 21:09 ` John R. Strohm
  2002-04-01 15:13 ` Thanks Henrik Quintel
  3 siblings, 0 replies; 11+ messages in thread
From: John R. Strohm @ 2002-03-31 21:09 UTC (permalink / raw)


"Henrik Quintel" <henrik.quintel@gmx.de> wrote in message
news:a871rs$qdqnt$1@ID-79136.news.dfncis.de...
> Dear all,
> is it possible to link an external assembler file to an Ada program and to
> call an assembler operation from an Ada program?

Absolutely.  Appendix B.1 discusses "pragma import".  There will be some
vendor-specific incantations relating to actually doing the link; check your
vendor documentation.

> If yes, please let me know how. Perhaps it is also possible to include
> assembler code direct in the Ada Code? I have searched in the AARM but I
> haven't found anything that has something to do with interfacing to
> assembler code. So it would be very friendly if someon ecan give me a hint
> for this problem.

Chapter 13 discusses Ada machine code insertions.  CAUTION: machine code
insertions are NOT for the faint-of-heart.

> Thanks in adavance.
>
> Yours Henrik
>
>





^ permalink raw reply	[flat|nested] 11+ messages in thread

* Thanks
  2002-03-31 13:10 Ada and Assembler Henrik Quintel
                   ` (2 preceding siblings ...)
  2002-03-31 21:09 ` John R. Strohm
@ 2002-04-01 15:13 ` Henrik Quintel
  3 siblings, 0 replies; 11+ messages in thread
From: Henrik Quintel @ 2002-04-01 15:13 UTC (permalink / raw)


Dear all,
thanks for all your answers. They help me a lot. Great!

Yours Henrik





^ permalink raw reply	[flat|nested] 11+ messages in thread

* thanks
  2004-01-09  8:45     ` Ole-Hjalmar Kristensen
@ 2004-01-09 10:27       ` Riccardo
  2004-01-09 13:58         ` thanks Robert Spooner
  0 siblings, 1 reply; 11+ messages in thread
From: Riccardo @ 2004-01-09 10:27 UTC (permalink / raw)


Thanks to everybody!
I'll consider all these considerations in arranging a new solution.

Riccardo







^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: thanks
  2004-01-09 10:27       ` thanks Riccardo
@ 2004-01-09 13:58         ` Robert Spooner
  0 siblings, 0 replies; 11+ messages in thread
From: Robert Spooner @ 2004-01-09 13:58 UTC (permalink / raw)


Riccardo,

If you want to use TCP/IP but make it look like a (reliable) UDP/IP 
protocol at a higher level, one way to do it is to layer a record 
structure on top of TCP that sends size in bytes as a fixed length 
preamble of every message. You read the size, and then loop until you 
have read the correct number of bytes for the entire message.

Another way to do it is by using streams.

Regards,
Bob

Riccardo wrote:
> Thanks to everybody!
> I'll consider all these considerations in arranging a new solution.
> 
> Riccardo
> 
> 
> 
> 

-- 
                             Robert L. Spooner
                      Registered Professional Engineer
                        Associate Research Engineer
                   Intelligent Control Systems Department

          Applied Research Laboratory        Phone: (814) 863-4120
          The Pennsylvania State University  FAX:   (814) 863-7841
          P. O. Box 30
          State College, PA 16804-0030       rls19@psu.edu




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Thanks
@ 2004-09-19 16:51 Gwynnnn
  2004-09-19 17:30 ` Thanks stephane richard
  2004-09-19 18:00 ` Thanks Jeffrey Carter
  0 siblings, 2 replies; 11+ messages in thread
From: Gwynnnn @ 2004-09-19 16:51 UTC (permalink / raw)


Hi,

    Thanks for your help.

     I have now figured out how to get it to recognise more than one
directory  (separated by spaces) but I cannot yet figure out how to get it
to recognise directory names with spaces in them. Is it possible?

     Best wishes

     Gwynnnn










^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Thanks
  2004-09-19 16:51 Thanks Gwynnnn
@ 2004-09-19 17:30 ` stephane richard
  2004-09-19 18:00 ` Thanks Jeffrey Carter
  1 sibling, 0 replies; 11+ messages in thread
From: stephane richard @ 2004-09-19 17:30 UTC (permalink / raw)


Only trick I can suggest for that is perhaps to try putting the path in 
quotes?

such as:

"c:\Program Files\unitfiles.ads"

no garantees, it's a trick I use for command line parameters for windows 
apps...might not work in your case :-).

Stephane Richard
"Ada World" webmaster
http://www.adaworld.com


"Gwynnnn" <gwynn@lions-pride.demon.co.uk> wrote in message 
news:cikder$lgl$1$830fa79f@news.demon.co.uk...
> Hi,
>
>    Thanks for your help.
>
>     I have now figured out how to get it to recognise more than one
> directory  (separated by spaces) but I cannot yet figure out how to get it
> to recognise directory names with spaces in them. Is it possible?
>
>     Best wishes
>
>     Gwynnnn
>
>
>
>
>
>
> 





^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Thanks
  2004-09-19 16:51 Thanks Gwynnnn
  2004-09-19 17:30 ` Thanks stephane richard
@ 2004-09-19 18:00 ` Jeffrey Carter
  1 sibling, 0 replies; 11+ messages in thread
From: Jeffrey Carter @ 2004-09-19 18:00 UTC (permalink / raw)


Gwynnnn wrote:

>      I have now figured out how to get it to recognise more than one
> directory  (separated by spaces) but I cannot yet figure out how to get it
> to recognise directory names with spaces in them. Is it possible?

You can enclose them in quotes, or you can use the DOS 8.3 name.

-- 
Jeff Carter
"I was hobbling along, minding my own business, all of a
sudden, up he comes, cures me! One minute I'm a leper with
a trade, next minute my livelihood's gone! Not so much as a
'by your leave!' You're cured, mate. Bloody do-gooder!"
Monty Python's Life of Brian
76




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-09-19 18:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-31 13:10 Ada and Assembler Henrik Quintel
2002-03-31 13:34 ` David C. Hoos, Sr.
2002-03-31 14:02 ` Dr. Michael Paus
2002-03-31 21:09 ` John R. Strohm
2002-04-01 15:13 ` Thanks Henrik Quintel
  -- strict thread matches above, loose matches on Subject: below --
2004-09-19 16:51 Thanks Gwynnnn
2004-09-19 17:30 ` Thanks stephane richard
2004-09-19 18:00 ` Thanks Jeffrey Carter
2004-01-08  8:32 More details on:--- ADA vs JAVA sockets--- Riccardo
2004-01-08 20:16 ` tmoran
2004-01-09  7:27   ` Riccardo
2004-01-09  8:45     ` Ole-Hjalmar Kristensen
2004-01-09 10:27       ` thanks Riccardo
2004-01-09 13:58         ` thanks Robert Spooner
1987-06-05  9:29 Thanks A-PIRARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox