LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-29-2011, 07:55 PM   #1
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 968

Rep: Reputation: 53
Is Assembly Language considered a Structured Language?


Does Assembly Language have structures that put it in the category of a Structured Language?

Thanks in advance!
 
Old 01-29-2011, 09:00 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Donald Knuth certainly believes so. His classic "Art of Computer Programming" series is arguably the BEST books on data structures and algorithms of all time - and it's written entirely in a (hypothetical) machine language called "MIX".
 
1 members found this post helpful.
Old 01-29-2011, 09:43 PM   #3
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 968

Original Poster
Rep: Reputation: 53
I would really love to read that book but I'm clinging onto the lasts strands of reality.

My Linux travels have led me to programming paradigms and I was reading some rubbish on the web about it. I studied Assembly for Micro Controllers but only a very little for PCs. I wish I could study Assembly in-depth. None of the guides I found listed assembly as a Structured Language but a Loop is a function is it not that contains lower language code so in that sense I would say that it is structured. I could not find a guide as of yet that did not contradict it's self in the same sentence. I think I'm getting the idea though. I assume the consensus is on what part of the code does not have to be custom made. I saw something on the History Channel about gun parts that did not have to be custom made per gun and parts where "interchangeable". This topic seems to be related to that concept.

Thanks for sharing your knowledge!
 
Old 01-30-2011, 08:09 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by theKbStockpiler View Post
Does Assembly Language have structures that put it in the category of a Structured Language?
i think I'd argue that, fundamentally, assembly language* doesn't have structures, but, if you are of a mind to do so, you could probably use, eg, macros to produce something that was quite structure-like, if that's what floats your boat...and you remember to use them all of the time.

* And that should probably read assembly languages, because there are quite a few of them.
 
1 members found this post helpful.
Old 01-30-2011, 09:09 AM   #5
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1194Reputation: 1194Reputation: 1194Reputation: 1194Reputation: 1194Reputation: 1194Reputation: 1194Reputation: 1194Reputation: 1194
Quote:
Originally Posted by theKbStockpiler View Post
Does Assembly Language have structures that put it in the category of a Structured Language?
Absolutely not. It is as far as you can get from a structured language within the range of languages in which it is practical to express algorithms at all.

You can write structured programs in Assembly language. You can find or write macros that make it easier to write structured programs. Even with such macros, it isn't a structured language. A structured language is not necessary for writing structured programs.

You can also write horribly unstructured programs in structured languages.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to learn assembly language? darkangel29 Programming 8 01-12-2009 12:30 PM
Assembly Language Books JMJ_coder Programming 3 05-06-2008 04:04 PM
assembly language in linux herbertgnanaraja Programming 12 09-21-2006 03:52 AM
assembly language directives ashlesha Programming 2 07-03-2006 09:20 PM
Assembly Language syntax ashlesha Linux - Newbie 4 06-30-2006 04:22 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration