* programming question
@ Bruce Noblick
` Tyler Littlefield
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: Bruce Noblick @ UTC (permalink / raw)
To: speakup info
A few years ago, I took a unix course. We connected to a linux box to do most of our work. During that class I found some man pages on the subject I am going to ask about now. I remember being very qhrilled with this information. Now that I have my own linux box, I can't find these man pages on it. I am looking for information on assembler language programming. I have programs that I have written for DOS and Windows that I would like to port to linux and they are written in Assembler language.
Thanks!
Bruce Noblick
Those who revered the Lord spoke to one another, and the Lord listened attentively. A memory book was prepared before Him in which were recorded the names of those who respected the Lord and honored His name.
"They will belong to Me," says the Lord who rules over all, "in the day when I prepare My own special property. I will spare them as a man spares his son who serves him."
Malachi 3:16-17
See my web page for contact info and a lot more.
Here is the address.
HTTP://HOME.COLUMBUS.RR.COM/bnoblick
If the above line does not act like a link, try cutting and pasting it to your browser.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: programming question
programming question Bruce Noblick
@ ` Tyler Littlefield
` Ari Moisio
` (2 subsequent siblings)
3 siblings, 0 replies; 13+ messages in thread
From: Tyler Littlefield @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Bruce,
What version of linux--you may want to get manpages-dev
also:
http://bsd.miki.eu.org/~cli3nt/info/syscalls_linux_2_2.html
http://www.sandpile.org/ia32/index.htmm
http://linuxassembly.org
also check sourceforge or google nasm documentation for the documentation.
Thanks,
Tyler Littlefield
email: tyler@tysdomain.com
web: tysdomain-com
Visit for quality software and web design.
skype: st8amnd2005
----- Original Message -----
From: "Bruce Noblick" <brunobrook@columbus.rr.com>
To: "speakup info" <speakup@braille.uwo.ca>
Sent: Tuesday, November 11, 2008 6:10 PM
Subject: programming question
>A few years ago, I took a unix course. We connected to a linux box to do
>most of our work. During that class I found some man pages on the subject
>I am going to ask about now. I remember being very qhrilled with this
>information. Now that I have my own linux box, I can't find these man
>pages on it. I am looking for information on assembler language
>programming. I have programs that I have written for DOS and Windows that
>I would like to port to linux and they are written in Assembler language.
>
> Thanks!
>
> Bruce Noblick
>
>
> Those who revered the Lord spoke to one another, and the Lord listened
> attentively. A memory book was prepared before Him in which were recorded
> the names of those who respected the Lord and honored His name.
>
> "They will belong to Me," says the Lord who rules over all, "in the day
> when I prepare My own special property. I will spare them as a man spares
> his son who serves him."
>
> Malachi 3:16-17
>
> See my web page for contact info and a lot more.
> Here is the address.
> HTTP://HOME.COLUMBUS.RR.COM/bnoblick
> If the above line does not act like a link, try cutting and pasting it to
> your browser.
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: programming question
programming question Bruce Noblick
` Tyler Littlefield
@ ` Ari Moisio
` Kerry Hoath
` Steven Davis
3 siblings, 0 replies; 13+ messages in thread
From: Ari Moisio @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Hi Bruce
Could you name some of those man pages, only references i found with
quick look were man pages of as and as86.
You probably have to do heavy modifications to your code when porting
from DOS to Linux or nay other *NIX variant for that matter.
What kind of aplication you have wrote?
--
mr. M01510 & guide Loadstone-GPS
On Tue, 11 Nov 2008, Bruce Noblick wrote:
> A few years ago, I took a unix course. We connected to a linux box to do most of our work. During that class I found some man pages on the subject I am going to ask about now. I remember being very qhrilled with this information. Now that I have my own linux box, I can't find these man pages on it. I am looking for information on assembler language programming. I have programs that I have written for DOS and Windows that I would like to port to linux and they are written in Assembler language.
>
> Thanks!
>
> Bruce Noblick
>
>
> Those who revered the Lord spoke to one another, and the Lord listened attentively. A memory book was prepared before Him in which were recorded the names of those who respected the Lord and honored His name.
>
> "They will belong to Me," says the Lord who rules over all, "in the day when I prepare My own special property. I will spare them as a man spares his son who serves him."
>
> Malachi 3:16-17
>
> See my web page for contact info and a lot more.
> Here is the address.
> HTTP://HOME.COLUMBUS.RR.COM/bnoblick
> If the above line does not act like a link, try cutting and pasting it to your browser.
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: programming question
programming question Bruce Noblick
` Tyler Littlefield
` Ari Moisio
@ ` Kerry Hoath
` Al Sten-Clanton
` Steven Davis
3 siblings, 1 reply; 13+ messages in thread
From: Kerry Hoath @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Regarding assembler under Linux; there are a few things you should know.
firstly any programs you wrote in dos would need to be completely rewritten,
as Linux does not have a series of interrupt routines like dos;
so you can't call int 10h, int21h etc.
also note that Linux's memory model is flat; and does not use segment
registers in the way 08x86 assembler does.
there are assemblers under Linux, you want the manpages for as86 and nasm,
note however that the syntax differs for Linux from dos syntax.
Lame and flac have assembler code if you want to take a look at some.
Regards, Kerry.
----- Original Message -----
From: "Bruce Noblick" <brunobrook@columbus.rr.com>
To: "speakup info" <speakup@braille.uwo.ca>
Sent: Wednesday, November 12, 2008 10:10 AM
Subject: programming question
>A few years ago, I took a unix course. We connected to a linux box to do
>most of our work. During that class I found some man pages on the subject
>I am going to ask about now. I remember being very qhrilled with this
>information. Now that I have my own linux box, I can't find these man
>pages on it. I am looking for information on assembler language
>programming. I have programs that I have written for DOS and Windows that
>I would like to port to linux and they are written in Assembler language.
>
> Thanks!
>
> Bruce Noblick
>
>
> Those who revered the Lord spoke to one another, and the Lord listened
> attentively. A memory book was prepared before Him in which were recorded
> the names of those who respected the Lord and honored His name.
>
> "They will belong to Me," says the Lord who rules over all, "in the day
> when I prepare My own special property. I will spare them as a man spares
> his son who serves him."
>
> Malachi 3:16-17
>
> See my web page for contact info and a lot more.
> Here is the address.
> HTTP://HOME.COLUMBUS.RR.COM/bnoblick
> If the above line does not act like a link, try cutting and pasting it to
> your browser.
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: programming question
programming question Bruce Noblick
` (2 preceding siblings ...)
` Kerry Hoath
@ ` Steven Davis
3 siblings, 0 replies; 13+ messages in thread
From: Steven Davis @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
You might try and look up "Art of Assembly Language Programming". There is
information in this text on the internet on assembly language programming
forLINUX. Hope this is of help.
Steven Davis
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: programming question
` Kerry Hoath
@ ` Al Sten-Clanton
` Chris Brannon
` Tyler Littlefield
0 siblings, 2 replies; 13+ messages in thread
From: Al Sten-Clanton @ UTC (permalink / raw)
To: 'Speakup is a screen review system for Linux.'
I'm in the early stages of learning assembly on my Linux box. Feel free to
correct me, of course, since I'm a beginner on my Linux box and never did
any assembly programming in DOS. My understanding is that using
Int 0x80
With the appropriate number in the EAX register (and sometimes things in
other registers) is equivalent to the DOS interrupt routines.
Also, Tyler, thanks for the links. I rely on two assembly books, "Assembly
Language Step-by-Step: Programming with DOS and Linux, Second Edition," by
Jeff Duntemann, and "Professional Assembly Language," by Richard Blum. I
now mostly use Blum's book, because it covers more instructions and because
it uses the GNU assembler instead of NASM. (I much prefer the AT&T syntax
to Intel's.) I have these books by way of a farily expensive online service,
though, and don't think there's a cost-free version of either. (I do
believe there's at least a separate electronic version of Blum's book that
you can buy.) Blum's book sometimes contains poor explanations, so I hope I
may get some additional help from one or more of the links.
Al
-----Original Message-----
From: speakup-bounces@braille.uwo.ca [mailto:speakup-bounces@braille.uwo.ca]
On Behalf Of Kerry Hoath
Sent: Wednesday, November 12, 2008 6:05 AM
To: Speakup is a screen review system for Linux.
Subject: Re: programming question
Regarding assembler under Linux; there are a few things you should know.
firstly any programs you wrote in dos would need to be completely rewritten,
as Linux does not have a series of interrupt routines like dos;
so you can't call int 10h, int21h etc.
also note that Linux's memory model is flat; and does not use segment
registers in the way 08x86 assembler does.
there are assemblers under Linux, you want the manpages for as86 and nasm,
note however that the syntax differs for Linux from dos syntax.
Lame and flac have assembler code if you want to take a look at some.
Regards, Kerry.
----- Original Message -----
From: "Bruce Noblick" <brunobrook@columbus.rr.com>
To: "speakup info" <speakup@braille.uwo.ca>
Sent: Wednesday, November 12, 2008 10:10 AM
Subject: programming question
>A few years ago, I took a unix course. We connected to a linux box to do
>most of our work. During that class I found some man pages on the subject
>I am going to ask about now. I remember being very qhrilled with this
>information. Now that I have my own linux box, I can't find these man
>pages on it. I am looking for information on assembler language
>programming. I have programs that I have written for DOS and Windows that
>I would like to port to linux and they are written in Assembler language.
>
> Thanks!
>
> Bruce Noblick
>
>
> Those who revered the Lord spoke to one another, and the Lord listened
> attentively. A memory book was prepared before Him in which were recorded
> the names of those who respected the Lord and honored His name.
>
> "They will belong to Me," says the Lord who rules over all, "in the day
> when I prepare My own special property. I will spare them as a man spares
> his son who serves him."
>
> Malachi 3:16-17
>
> See my web page for contact info and a lot more.
> Here is the address.
> HTTP://HOME.COLUMBUS.RR.COM/bnoblick
> If the above line does not act like a link, try cutting and pasting it to
> your browser.
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
12:00 AM
--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
12:00 AM
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: programming question
` Al Sten-Clanton
@ ` Chris Brannon
` Al Sten-Clanton
` Tyler Littlefield
1 sibling, 1 reply; 13+ messages in thread
From: Chris Brannon @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
"Al Sten-Clanton" <Albert.E.Sten_Clanton@verizon.net> writes:
> I have these books by way of a farily expensive online service,
> though, and don't think there's a cost-free version of either.
If you don't mind sharing, what is the name of that fairly expensive
online service?
I learned from the "Art of Assembly" book suggested by another poster.
Be warned that the author uses his own "high level" assembler. It's
nonstandard. If you learn the basics of assembly from that book, you
should be able to translate that knowledge into the syntax used by the
widely-available assemblers.
A student of Linux assembly might also want to grab a copy of the
asmutils package. It contains reimplementations of the common Unix
utilities. Most are small and relatively easy to comprehend. I have a
program in the collection: uuencode. I wrote it when I was learning
Linux assembly.
The asmutils use Intel syntax, and they assemble with nasm.
Good luck,
-- Chris
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: programming question
` Al Sten-Clanton
` Chris Brannon
@ ` Tyler Littlefield
` Al Sten-Clanton
1 sibling, 1 reply; 13+ messages in thread
From: Tyler Littlefield @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
you can't just convert the interupts by switching the flags. the system
calls are way different.
And no prob.
Thanks,
Tyler Littlefield
email: tyler@tysdomain.com
web: tysdomain-com
Visit for quality software and web design.
skype: st8amnd2005
----- Original Message -----
From: "Al Sten-Clanton" <Albert.E.Sten_Clanton@verizon.net>
To: "'Speakup is a screen review system for Linux.'"
<speakup@braille.uwo.ca>
Sent: Wednesday, November 12, 2008 9:51 AM
Subject: RE: programming question
> I'm in the early stages of learning assembly on my Linux box. Feel free
> to
> correct me, of course, since I'm a beginner on my Linux box and never did
> any assembly programming in DOS. My understanding is that using
>
> Int 0x80
>
> With the appropriate number in the EAX register (and sometimes things in
> other registers) is equivalent to the DOS interrupt routines.
>
> Also, Tyler, thanks for the links. I rely on two assembly books,
> "Assembly
> Language Step-by-Step: Programming with DOS and Linux, Second Edition," by
> Jeff Duntemann, and "Professional Assembly Language," by Richard Blum. I
> now mostly use Blum's book, because it covers more instructions and
> because
> it uses the GNU assembler instead of NASM. (I much prefer the AT&T syntax
> to Intel's.) I have these books by way of a farily expensive online
> service,
> though, and don't think there's a cost-free version of either. (I do
> believe there's at least a separate electronic version of Blum's book that
> you can buy.) Blum's book sometimes contains poor explanations, so I hope
> I
> may get some additional help from one or more of the links.
>
> Al
> -----Original Message-----
> From: speakup-bounces@braille.uwo.ca
> [mailto:speakup-bounces@braille.uwo.ca]
> On Behalf Of Kerry Hoath
> Sent: Wednesday, November 12, 2008 6:05 AM
> To: Speakup is a screen review system for Linux.
> Subject: Re: programming question
>
> Regarding assembler under Linux; there are a few things you should know.
> firstly any programs you wrote in dos would need to be completely
> rewritten,
>
> as Linux does not have a series of interrupt routines like dos;
> so you can't call int 10h, int21h etc.
> also note that Linux's memory model is flat; and does not use segment
> registers in the way 08x86 assembler does.
>
> there are assemblers under Linux, you want the manpages for as86 and nasm,
> note however that the syntax differs for Linux from dos syntax.
>
> Lame and flac have assembler code if you want to take a look at some.
> Regards, Kerry.
>
> ----- Original Message -----
> From: "Bruce Noblick" <brunobrook@columbus.rr.com>
> To: "speakup info" <speakup@braille.uwo.ca>
> Sent: Wednesday, November 12, 2008 10:10 AM
> Subject: programming question
>
>
>>A few years ago, I took a unix course. We connected to a linux box to do
>>most of our work. During that class I found some man pages on the subject
>>I am going to ask about now. I remember being very qhrilled with this
>>information. Now that I have my own linux box, I can't find these man
>>pages on it. I am looking for information on assembler language
>>programming. I have programs that I have written for DOS and Windows that
>>I would like to port to linux and they are written in Assembler language.
>>
>> Thanks!
>>
>> Bruce Noblick
>>
>>
>> Those who revered the Lord spoke to one another, and the Lord listened
>> attentively. A memory book was prepared before Him in which were recorded
>> the names of those who respected the Lord and honored His name.
>>
>> "They will belong to Me," says the Lord who rules over all, "in the day
>> when I prepare My own special property. I will spare them as a man spares
>> his son who serves him."
>>
>> Malachi 3:16-17
>>
>> See my web page for contact info and a lot more.
>> Here is the address.
>> HTTP://HOME.COLUMBUS.RR.COM/bnoblick
>> If the above line does not act like a link, try cutting and pasting it to
>> your browser.
>>
>> _______________________________________________
>> Speakup mailing list
>> Speakup@braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
> 12:00 AM
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
> 12:00 AM
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: programming question
` Chris Brannon
@ ` Al Sten-Clanton
` Tyler Littlefield
0 siblings, 1 reply; 13+ messages in thread
From: Al Sten-Clanton @ UTC (permalink / raw)
To: 'Speakup is a screen review system for Linux.'
Thanks for the info!
The book service is
www.books24x7.com
I actually use its slightly blind-friendlier
Textonly.books24x7.com
I've looked at "The Art of Assembly Programming." I think I'm quirky,
because I had more trouble getting into it than I'd expected.
Al
-----Original Message-----
From: speakup-bounces@braille.uwo.ca [mailto:speakup-bounces@braille.uwo.ca]
On Behalf Of Chris Brannon
Sent: Wednesday, November 12, 2008 12:31 PM
To: Speakup is a screen review system for Linux.
Subject: Re: programming question
"Al Sten-Clanton" <Albert.E.Sten_Clanton@verizon.net> writes:
> I have these books by way of a farily expensive online service,
> though, and don't think there's a cost-free version of either.
If you don't mind sharing, what is the name of that fairly expensive
online service?
I learned from the "Art of Assembly" book suggested by another poster.
Be warned that the author uses his own "high level" assembler. It's
nonstandard. If you learn the basics of assembly from that book, you
should be able to translate that knowledge into the syntax used by the
widely-available assemblers.
A student of Linux assembly might also want to grab a copy of the
asmutils package. It contains reimplementations of the common Unix
utilities. Most are small and relatively easy to comprehend. I have a
program in the collection: uuencode. I wrote it when I was learning
Linux assembly.
The asmutils use Intel syntax, and they assemble with nasm.
Good luck,
-- Chris
_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
12:00 AM
--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
12:00 AM
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: programming question
` Al Sten-Clanton
@ ` Tyler Littlefield
0 siblings, 0 replies; 13+ messages in thread
From: Tyler Littlefield @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
I was never a hla fan. If I wanted high level assembly, I'd use c. :)
Thanks,
Tyler Littlefield
email: tyler@tysdomain.com
web: tysdomain-com
Visit for quality software and web design.
skype: st8amnd2005
----- Original Message -----
From: "Al Sten-Clanton" <Albert.E.Sten_Clanton@verizon.net>
To: "'Speakup is a screen review system for Linux.'"
<speakup@braille.uwo.ca>
Sent: Wednesday, November 12, 2008 3:48 PM
Subject: RE: programming question
> Thanks for the info!
>
> The book service is
>
> www.books24x7.com
>
> I actually use its slightly blind-friendlier
>
> Textonly.books24x7.com
>
> I've looked at "The Art of Assembly Programming." I think I'm quirky,
> because I had more trouble getting into it than I'd expected.
>
> Al
>
> -----Original Message-----
> From: speakup-bounces@braille.uwo.ca
> [mailto:speakup-bounces@braille.uwo.ca]
> On Behalf Of Chris Brannon
> Sent: Wednesday, November 12, 2008 12:31 PM
> To: Speakup is a screen review system for Linux.
> Subject: Re: programming question
>
> "Al Sten-Clanton" <Albert.E.Sten_Clanton@verizon.net> writes:
>
>> I have these books by way of a farily expensive online service,
>> though, and don't think there's a cost-free version of either.
>
> If you don't mind sharing, what is the name of that fairly expensive
> online service?
>
> I learned from the "Art of Assembly" book suggested by another poster.
> Be warned that the author uses his own "high level" assembler. It's
> nonstandard. If you learn the basics of assembly from that book, you
> should be able to translate that knowledge into the syntax used by the
> widely-available assemblers.
>
> A student of Linux assembly might also want to grab a copy of the
> asmutils package. It contains reimplementations of the common Unix
> utilities. Most are small and relatively easy to comprehend. I have a
> program in the collection: uuencode. I wrote it when I was learning
> Linux assembly.
> The asmutils use Intel syntax, and they assemble with nasm.
>
> Good luck,
> -- Chris
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
> 12:00 AM
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
> 12:00 AM
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: programming question
` Tyler Littlefield
@ ` Al Sten-Clanton
` Tyler Littlefield
0 siblings, 1 reply; 13+ messages in thread
From: Al Sten-Clanton @ UTC (permalink / raw)
To: 'Speakup is a screen review system for Linux.'
"you can't just convert the interupts by switching the flags. the system
calls are way different."
Yes. I meant to suggest some equivalency, not that one wouldn't have to
change the calls. Not saying I was right, only that that's what I meant.
Al
-----Original Message-----
From: speakup-bounces@braille.uwo.ca [mailto:speakup-bounces@braille.uwo.ca]
On Behalf Of Tyler Littlefield
Sent: Wednesday, November 12, 2008 12:41 PM
To: Speakup is a screen review system for Linux.
Subject: Re: programming question
you can't just convert the interupts by switching the flags. the system
calls are way different.
And no prob.
Thanks,
Tyler Littlefield
email: tyler@tysdomain.com
web: tysdomain-com
Visit for quality software and web design.
skype: st8amnd2005
----- Original Message -----
From: "Al Sten-Clanton" <Albert.E.Sten_Clanton@verizon.net>
To: "'Speakup is a screen review system for Linux.'"
<speakup@braille.uwo.ca>
Sent: Wednesday, November 12, 2008 9:51 AM
Subject: RE: programming question
> I'm in the early stages of learning assembly on my Linux box. Feel free
> to
> correct me, of course, since I'm a beginner on my Linux box and never did
> any assembly programming in DOS. My understanding is that using
>
> Int 0x80
>
> With the appropriate number in the EAX register (and sometimes things in
> other registers) is equivalent to the DOS interrupt routines.
>
> Also, Tyler, thanks for the links. I rely on two assembly books,
> "Assembly
> Language Step-by-Step: Programming with DOS and Linux, Second Edition," by
> Jeff Duntemann, and "Professional Assembly Language," by Richard Blum. I
> now mostly use Blum's book, because it covers more instructions and
> because
> it uses the GNU assembler instead of NASM. (I much prefer the AT&T syntax
> to Intel's.) I have these books by way of a farily expensive online
> service,
> though, and don't think there's a cost-free version of either. (I do
> believe there's at least a separate electronic version of Blum's book that
> you can buy.) Blum's book sometimes contains poor explanations, so I hope
> I
> may get some additional help from one or more of the links.
>
> Al
> -----Original Message-----
> From: speakup-bounces@braille.uwo.ca
> [mailto:speakup-bounces@braille.uwo.ca]
> On Behalf Of Kerry Hoath
> Sent: Wednesday, November 12, 2008 6:05 AM
> To: Speakup is a screen review system for Linux.
> Subject: Re: programming question
>
> Regarding assembler under Linux; there are a few things you should know.
> firstly any programs you wrote in dos would need to be completely
> rewritten,
>
> as Linux does not have a series of interrupt routines like dos;
> so you can't call int 10h, int21h etc.
> also note that Linux's memory model is flat; and does not use segment
> registers in the way 08x86 assembler does.
>
> there are assemblers under Linux, you want the manpages for as86 and nasm,
> note however that the syntax differs for Linux from dos syntax.
>
> Lame and flac have assembler code if you want to take a look at some.
> Regards, Kerry.
>
> ----- Original Message -----
> From: "Bruce Noblick" <brunobrook@columbus.rr.com>
> To: "speakup info" <speakup@braille.uwo.ca>
> Sent: Wednesday, November 12, 2008 10:10 AM
> Subject: programming question
>
>
>>A few years ago, I took a unix course. We connected to a linux box to do
>>most of our work. During that class I found some man pages on the subject
>>I am going to ask about now. I remember being very qhrilled with this
>>information. Now that I have my own linux box, I can't find these man
>>pages on it. I am looking for information on assembler language
>>programming. I have programs that I have written for DOS and Windows that
>>I would like to port to linux and they are written in Assembler language.
>>
>> Thanks!
>>
>> Bruce Noblick
>>
>>
>> Those who revered the Lord spoke to one another, and the Lord listened
>> attentively. A memory book was prepared before Him in which were recorded
>> the names of those who respected the Lord and honored His name.
>>
>> "They will belong to Me," says the Lord who rules over all, "in the day
>> when I prepare My own special property. I will spare them as a man spares
>> his son who serves him."
>>
>> Malachi 3:16-17
>>
>> See my web page for contact info and a lot more.
>> Here is the address.
>> HTTP://HOME.COLUMBUS.RR.COM/bnoblick
>> If the above line does not act like a link, try cutting and pasting it to
>> your browser.
>>
>> _______________________________________________
>> Speakup mailing list
>> Speakup@braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
> 12:00 AM
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
> 12:00 AM
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
12:00 AM
--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
12:00 AM
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: programming question
` Al Sten-Clanton
@ ` Tyler Littlefield
` Bruce Noblick
0 siblings, 1 reply; 13+ messages in thread
From: Tyler Littlefield @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
with most,t here's not even an equiv. dos's write is totally different from
linux's write, as far as I can remember.
Thanks,
Tyler Littlefield
email: tyler@tysdomain.com
web: tysdomain-com
Visit for quality software and web design.
skype: st8amnd2005
----- Original Message -----
From: "Al Sten-Clanton" <Albert.E.Sten_Clanton@verizon.net>
To: "'Speakup is a screen review system for Linux.'"
<speakup@braille.uwo.ca>
Sent: Wednesday, November 12, 2008 3:55 PM
Subject: RE: programming question
> "you can't just convert the interupts by switching the flags. the system
> calls are way different."
>
> Yes. I meant to suggest some equivalency, not that one wouldn't have to
> change the calls. Not saying I was right, only that that's what I meant.
>
> Al
>
>
> -----Original Message-----
> From: speakup-bounces@braille.uwo.ca
> [mailto:speakup-bounces@braille.uwo.ca]
> On Behalf Of Tyler Littlefield
> Sent: Wednesday, November 12, 2008 12:41 PM
> To: Speakup is a screen review system for Linux.
> Subject: Re: programming question
>
> you can't just convert the interupts by switching the flags. the system
> calls are way different.
> And no prob.
>
> Thanks,
> Tyler Littlefield
> email: tyler@tysdomain.com
> web: tysdomain-com
> Visit for quality software and web design.
> skype: st8amnd2005
>
> ----- Original Message -----
> From: "Al Sten-Clanton" <Albert.E.Sten_Clanton@verizon.net>
> To: "'Speakup is a screen review system for Linux.'"
> <speakup@braille.uwo.ca>
> Sent: Wednesday, November 12, 2008 9:51 AM
> Subject: RE: programming question
>
>
>> I'm in the early stages of learning assembly on my Linux box. Feel free
>> to
>> correct me, of course, since I'm a beginner on my Linux box and never did
>> any assembly programming in DOS. My understanding is that using
>>
>> Int 0x80
>>
>> With the appropriate number in the EAX register (and sometimes things in
>> other registers) is equivalent to the DOS interrupt routines.
>>
>> Also, Tyler, thanks for the links. I rely on two assembly books,
>> "Assembly
>> Language Step-by-Step: Programming with DOS and Linux, Second Edition,"
>> by
>> Jeff Duntemann, and "Professional Assembly Language," by Richard Blum. I
>> now mostly use Blum's book, because it covers more instructions and
>> because
>> it uses the GNU assembler instead of NASM. (I much prefer the AT&T
>> syntax
>> to Intel's.) I have these books by way of a farily expensive online
>> service,
>> though, and don't think there's a cost-free version of either. (I do
>> believe there's at least a separate electronic version of Blum's book
>> that
>> you can buy.) Blum's book sometimes contains poor explanations, so I hope
>> I
>> may get some additional help from one or more of the links.
>>
>> Al
>> -----Original Message-----
>> From: speakup-bounces@braille.uwo.ca
>> [mailto:speakup-bounces@braille.uwo.ca]
>> On Behalf Of Kerry Hoath
>> Sent: Wednesday, November 12, 2008 6:05 AM
>> To: Speakup is a screen review system for Linux.
>> Subject: Re: programming question
>>
>> Regarding assembler under Linux; there are a few things you should know.
>> firstly any programs you wrote in dos would need to be completely
>> rewritten,
>>
>> as Linux does not have a series of interrupt routines like dos;
>> so you can't call int 10h, int21h etc.
>> also note that Linux's memory model is flat; and does not use segment
>> registers in the way 08x86 assembler does.
>>
>> there are assemblers under Linux, you want the manpages for as86 and
>> nasm,
>> note however that the syntax differs for Linux from dos syntax.
>>
>> Lame and flac have assembler code if you want to take a look at some.
>> Regards, Kerry.
>>
>> ----- Original Message -----
>> From: "Bruce Noblick" <brunobrook@columbus.rr.com>
>> To: "speakup info" <speakup@braille.uwo.ca>
>> Sent: Wednesday, November 12, 2008 10:10 AM
>> Subject: programming question
>>
>>
>>>A few years ago, I took a unix course. We connected to a linux box to do
>>>most of our work. During that class I found some man pages on the
>>>subject
>>>I am going to ask about now. I remember being very qhrilled with this
>>>information. Now that I have my own linux box, I can't find these man
>>>pages on it. I am looking for information on assembler language
>>>programming. I have programs that I have written for DOS and Windows
>>>that
>>>I would like to port to linux and they are written in Assembler language.
>>>
>>> Thanks!
>>>
>>> Bruce Noblick
>>>
>>>
>>> Those who revered the Lord spoke to one another, and the Lord listened
>>> attentively. A memory book was prepared before Him in which were
>>> recorded
>>> the names of those who respected the Lord and honored His name.
>>>
>>> "They will belong to Me," says the Lord who rules over all, "in the day
>>> when I prepare My own special property. I will spare them as a man
>>> spares
>>> his son who serves him."
>>>
>>> Malachi 3:16-17
>>>
>>> See my web page for contact info and a lot more.
>>> Here is the address.
>>> HTTP://HOME.COLUMBUS.RR.COM/bnoblick
>>> If the above line does not act like a link, try cutting and pasting it
>>> to
>>> your browser.
>>>
>>> _______________________________________________
>>> Speakup mailing list
>>> Speakup@braille.uwo.ca
>>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>>
>>
>> _______________________________________________
>> Speakup mailing list
>> Speakup@braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>
>> --
>> Internal Virus Database is out-of-date.
>> Checked by AVG Free Edition.
>> Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
>> 12:00 AM
>>
>>
>> --
>> Internal Virus Database is out-of-date.
>> Checked by AVG Free Edition.
>> Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
>> 12:00 AM
>>
>>
>> _______________________________________________
>> Speakup mailing list
>> Speakup@braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
> 12:00 AM
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
> 12:00 AM
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: programming question
` Tyler Littlefield
@ ` Bruce Noblick
0 siblings, 0 replies; 13+ messages in thread
From: Bruce Noblick @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Thanks to everyone for the help. I should have enough to chew on for quite
a while.
I am an old vet at os conversions for various assemblers so I expect that
communicating with the operating system and syntax for writing instructions
will change from what I am familiar with. .
I agree with most of what was said about AOA (art of assembler) and HLA
(high level assembler). My only additional comment is that there is good
basic information about a number of aspects of computer hardware and if I
remember correctly, there is even some information about basic communication
with linux though I don't remember that for sure..
Thanks again to all of you for helping me with this and other of my
questions.
The rest of this note sounds a lot like a resume so you can skip it if you
prefer.
One person asked what kind of stuff I have written so here is a quick
overview of my carreer. Don't worry, I have nothing to sell because I give
it all away.
I first learned assembler language on IBM mainframes but never did much
other than school related projects though I did a rewrite of our braille
program when IBM added a spooler to the operating system.
I have been working for the state of Ohio as a programmer for more than 30
years. During this time, I have worn a few different hats. I wrote an
extension to a proprietary os on intelligent terminals using 8080 assembler,
back in the late 70's. I also worked professionally in assembler language
on Unisys mainframes as a systems programmer for almost 30 years. My first
and second assembler language sub-routines which I wrote for that system
back in 1977 are still in use today though that system is soon going to be
phased out. I managed a network of up to 5,000 terminals up to the middle
90's. I also managed the user-written assembler code that we had in the
communications system up to just over three years ago. Now, I act more like
a computer operator than a programmer. I watch our test batch schedules and
fix simple problems when programs don't run right and call someone else to
fix the others.
On a parallel track, I wrote an application for accessing, updating and
sorting data before spreadsheets and databases were common and sold them to
a few small businesses locally back in the 80's. This was in the very early
days of DOS. Back then, the Microsoft assembler didn't work right in fairly
significant areas of the documented capabilities. One example of this is
that you couldn't use local labels in macros.
Outside of work, I wrote my own speech program for HDOS (Heath DOS)and CP/M
on 8080/z80 processors in the early 80's. This was all back before the days
of the PC. Then I converted some of these projects to 8086 assembler when
the PC showed up. I started writing cute little programs that perform small
functions that I used together to improve the capability of DOS to support
batch files and started giving these programs away with the source code in
the late 80's.In the last 5 years, I have learned to write assembler
language programs for windows, both console and GUI. I haven't written many
GUI programs from scratch but I have made some easier to use with speech and
substantially modified others to add functionality. For example, I added
recursive directory searching and random play capability to a multimedia
player.
I am very excited about being able to learn to use linux that way. Learning
new stuff feels good.
----- Original Message -----
From: "Tyler Littlefield" <tyler@tysdomain.com>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Wednesday, November 12, 2008 5:59 PM
Subject: Re: programming question
> with most,t here's not even an equiv. dos's write is totally different
> from linux's write, as far as I can remember.
>
>
> Thanks,
> Tyler Littlefield
> email: tyler@tysdomain.com
> web: tysdomain-com
> Visit for quality software and web design.
> skype: st8amnd2005
>
> ----- Original Message -----
> From: "Al Sten-Clanton" <Albert.E.Sten_Clanton@verizon.net>
> To: "'Speakup is a screen review system for Linux.'"
> <speakup@braille.uwo.ca>
> Sent: Wednesday, November 12, 2008 3:55 PM
> Subject: RE: programming question
>
>
>> "you can't just convert the interupts by switching the flags. the system
>> calls are way different."
>>
>> Yes. I meant to suggest some equivalency, not that one wouldn't have to
>> change the calls. Not saying I was right, only that that's what I meant.
>>
>> Al
>>
>>
>> -----Original Message-----
>> From: speakup-bounces@braille.uwo.ca
>> [mailto:speakup-bounces@braille.uwo.ca]
>> On Behalf Of Tyler Littlefield
>> Sent: Wednesday, November 12, 2008 12:41 PM
>> To: Speakup is a screen review system for Linux.
>> Subject: Re: programming question
>>
>> you can't just convert the interupts by switching the flags. the system
>> calls are way different.
>> And no prob.
>>
>> Thanks,
>> Tyler Littlefield
>> email: tyler@tysdomain.com
>> web: tysdomain-com
>> Visit for quality software and web design.
>> skype: st8amnd2005
>>
>> ----- Original Message -----
>> From: "Al Sten-Clanton" <Albert.E.Sten_Clanton@verizon.net>
>> To: "'Speakup is a screen review system for Linux.'"
>> <speakup@braille.uwo.ca>
>> Sent: Wednesday, November 12, 2008 9:51 AM
>> Subject: RE: programming question
>>
>>
>>> I'm in the early stages of learning assembly on my Linux box. Feel free
>>> to
>>> correct me, of course, since I'm a beginner on my Linux box and never
>>> did
>>> any assembly programming in DOS. My understanding is that using
>>>
>>> Int 0x80
>>>
>>> With the appropriate number in the EAX register (and sometimes things in
>>> other registers) is equivalent to the DOS interrupt routines.
>>>
>>> Also, Tyler, thanks for the links. I rely on two assembly books,
>>> "Assembly
>>> Language Step-by-Step: Programming with DOS and Linux, Second Edition,"
>>> by
>>> Jeff Duntemann, and "Professional Assembly Language," by Richard Blum.
>>> I
>>> now mostly use Blum's book, because it covers more instructions and
>>> because
>>> it uses the GNU assembler instead of NASM. (I much prefer the AT&T
>>> syntax
>>> to Intel's.) I have these books by way of a farily expensive online
>>> service,
>>> though, and don't think there's a cost-free version of either. (I do
>>> believe there's at least a separate electronic version of Blum's book
>>> that
>>> you can buy.) Blum's book sometimes contains poor explanations, so I
>>> hope
>>> I
>>> may get some additional help from one or more of the links.
>>>
>>> Al
>>> -----Original Message-----
>>> From: speakup-bounces@braille.uwo.ca
>>> [mailto:speakup-bounces@braille.uwo.ca]
>>> On Behalf Of Kerry Hoath
>>> Sent: Wednesday, November 12, 2008 6:05 AM
>>> To: Speakup is a screen review system for Linux.
>>> Subject: Re: programming question
>>>
>>> Regarding assembler under Linux; there are a few things you should know.
>>> firstly any programs you wrote in dos would need to be completely
>>> rewritten,
>>>
>>> as Linux does not have a series of interrupt routines like dos;
>>> so you can't call int 10h, int21h etc.
>>> also note that Linux's memory model is flat; and does not use segment
>>> registers in the way 08x86 assembler does.
>>>
>>> there are assemblers under Linux, you want the manpages for as86 and
>>> nasm,
>>> note however that the syntax differs for Linux from dos syntax.
>>>
>>> Lame and flac have assembler code if you want to take a look at some.
>>> Regards, Kerry.
>>>
>>> ----- Original Message -----
>>> From: "Bruce Noblick" <brunobrook@columbus.rr.com>
>>> To: "speakup info" <speakup@braille.uwo.ca>
>>> Sent: Wednesday, November 12, 2008 10:10 AM
>>> Subject: programming question
>>>
>>>
>>>>A few years ago, I took a unix course. We connected to a linux box to
>>>>do
>>>>most of our work. During that class I found some man pages on the
>>>>subject
>>>>I am going to ask about now. I remember being very qhrilled with this
>>>>information. Now that I have my own linux box, I can't find these man
>>>>pages on it. I am looking for information on assembler language
>>>>programming. I have programs that I have written for DOS and Windows
>>>>that
>>>>I would like to port to linux and they are written in Assembler
>>>>language.
>>>>
>>>> Thanks!
>>>>
>>>> Bruce Noblick
>>>>
>>>>
>>>> Those who revered the Lord spoke to one another, and the Lord listened
>>>> attentively. A memory book was prepared before Him in which were
>>>> recorded
>>>> the names of those who respected the Lord and honored His name.
>>>>
>>>> "They will belong to Me," says the Lord who rules over all, "in the
>>>> day
>>>> when I prepare My own special property. I will spare them as a man
>>>> spares
>>>> his son who serves him."
>>>>
>>>> Malachi 3:16-17
>>>>
>>>> See my web page for contact info and a lot more.
>>>> Here is the address.
>>>> HTTP://HOME.COLUMBUS.RR.COM/bnoblick
>>>> If the above line does not act like a link, try cutting and pasting it
>>>> to
>>>> your browser.
>>>>
>>>> _______________________________________________
>>>> Speakup mailing list
>>>> Speakup@braille.uwo.ca
>>>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>>>
>>>
>>> _______________________________________________
>>> Speakup mailing list
>>> Speakup@braille.uwo.ca
>>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>>
>>> --
>>> Internal Virus Database is out-of-date.
>>> Checked by AVG Free Edition.
>>> Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date:
>>> 10/15/2008
>>> 12:00 AM
>>>
>>>
>>> --
>>> Internal Virus Database is out-of-date.
>>> Checked by AVG Free Edition.
>>> Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date:
>>> 10/15/2008
>>> 12:00 AM
>>>
>>>
>>> _______________________________________________
>>> Speakup mailing list
>>> Speakup@braille.uwo.ca
>>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>
>> _______________________________________________
>> Speakup mailing list
>> Speakup@braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>
>> --
>> Internal Virus Database is out-of-date.
>> Checked by AVG Free Edition.
>> Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
>> 12:00 AM
>>
>>
>> --
>> Internal Virus Database is out-of-date.
>> Checked by AVG Free Edition.
>> Version: 7.5.446 / Virus Database: 270.8.1/696 - Release Date: 10/15/2008
>> 12:00 AM
>>
>>
>> _______________________________________________
>> Speakup mailing list
>> Speakup@braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> __________ NOD32 3610 (20081113) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
programming question Bruce Noblick
` Tyler Littlefield
` Ari Moisio
` Kerry Hoath
` Al Sten-Clanton
` Chris Brannon
` Al Sten-Clanton
` Tyler Littlefield
` Tyler Littlefield
` Al Sten-Clanton
` Tyler Littlefield
` Bruce Noblick
` Steven Davis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).