What about assembly/assembler ?

For everything that's not in any way related to PureBasic. General chat etc...
BorisTheOld
Enthusiast
Enthusiast
Posts: 542
Joined: Tue Apr 24, 2012 5:08 pm
Location: Ontario, Canada

Re: Where is Gnozal?

Post by BorisTheOld »

srod wrote:
luis wrote:Still it doesn't change its accomplishments a bit. Not last the fact the compiler and libraries you are using now are based on that.
Not to mention the OS! :)
It's irrelevant to me what language is used to write libraries and operating systems. They are just black boxes that provide services. Their code could be written in Egyptian hieroglyphics for all I care.
For ten years Caesar ruled with an iron hand, then with a wooden foot, and finally with a piece of string.
~ Spike Milligan
User avatar
TI-994A
Addict
Addict
Posts: 2700
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: Where is Gnozal?

Post by TI-994A »

Just to clarify:
BorisTheOld wrote:An assembly was something that one performed, as in, "I couldn't run the assembly because I dropped my card deck", or "I can't show you the assembly because a giant space goat ate the printout".
Such assemblies are performed by assemblers using code written in assembly language.
BorisTheOld wrote:I was talking about Assembler as it was when I used it 50 years ago. That's why I called Assembler, Assembler, and not Assembly...
Perhaps more accurately, "when you used it 50 years ago while at IBM." The generic use of the term "assembly language" is propagated by the fact that they are intrinsically processor-specific. However, the same does not hold true for assemblers.

When you said:[quote=""BorisTheOld"]Most programmers were using Assembler, PL/I, COBOL, and FORTRAN.[/quote]which assembler were you referring to? Atari's? Texas Instruments'? Motorola's? They're all different. However, had you said "assembly language", there would have been no ambiguity. In all their documentation, IBM uses the term "assembler" or "assembler language" to specifically refer to their high level assemblers and respective command sets, which were themselves built upon their Basic Assembly Language.

Alternatively, this would have also been acceptable:
Most programmers were using Assemblers, PL/I, COBOL, and FORTRAN. :D
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Where is Gnozal?

Post by PB »

Image
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

Re: Where is Gnozal?

Post by Rings »

yes, its a offtopic disscussion in the offtopic section.

well, i delete some stuff that doesn't fit in here (religous lines)
so don't wonder yourself.
SPAMINATOR NR.1
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: Where is Gnozal?

Post by netmaestro »

Well if you have to have a disagreement at least it's about something important... (sometimes I really miss the old eyeroll smiley)
BERESHEIT
User avatar
TI-994A
Addict
Addict
Posts: 2700
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: Where is Gnozal?

Post by TI-994A »

Danilo wrote:It was indeed very common to talk about "Assembler language" or just "Assembler" (referring the language, not the tool)
back in the good old days. I remember that as well, and I am not 40 yet.
Hi Danilo. Impressive list, although every one of those titles were in fact referring to the tool and not the language.

In fact, with the exception of the book by William Pervin, which is referring to the MIPS processor (see original book cover), all the others are specific to IBM mainframes.

Even Pervin himself refers to it as assembly language, and refers to assemblers only in the context of their specific processors (from his homepage):
William J. Pervin wrote:In addition, I wrote the below mentioned book on MIPS assembler.
William J. Pervin wrote:I hoped to develop an advanced assembly language course based on a DSP chip.
William J. Pervin wrote:At present I am working on a workbook for ARM Assembler Programming.

Can we expect another slew of book covers? :lol:
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Re: Where is Gnozal?

Post by Foz »

I think it was simply, the language of the assembler, which is now defined as assembly.
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Where is Gnozal?

Post by Danilo »

Today everybody says "assembly language" for the language and "assembler" for the tool.
Some decades ago also "assembler language" was used, and "I write in assembler", etc.

But to be honest, I don't care if anybody believes this or not. It is not very important to me anymore
and I don't want to argue about this minor things. :D
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Where is Gnozal?

Post by PB »

Fine... "app" means iPhone software. Prove me otherwise. :P
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
TI-994A
Addict
Addict
Posts: 2700
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: Where is Gnozal?

Post by TI-994A »

Danilo wrote:Some decades ago also "assembler language" was used, and "I write in assembler"...
The former may be contextually right, but the latter is just wrong.
Foz wrote:I think it was simply, the language of the assembler, which is now defined as assembly.
Hi Foz. You're quite right on that point.

If I remember correctly, way back from Computer Science 101, the word assembly originally referred to the drawn-out process of penning the mnemonic code on paper, getting it transcribed and punched onto source code cards, feeding those source code cards into a compiler which will punch out program code cards, and finally feeding the program code cards into the actual computer for execution. That, plus a whole lot of painstaking checking, sorting, collating, was known as assembling the code.

There was no concept of computer languages back then, and programs were made up of lists of mnemonic codes developed by the computer manufacturers themselves. However, when this lengthy assembly process was later automated, the utility program that performed it came to be known as the assembler, and eventually, as high-level languages began to emerge, this pioneering low-level format adopted the name of its precursory process, assembly. :D
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Where is Gnozal?

Post by Demivec »

TI-994A wrote:Danilo wrote:
Some decades ago also "assembler language" was used, and "I write in assembler"...
The former may be contextually right, but the latter is just wrong.
A previous posting of yours (with a link to a manual) explained that 'Assembler' and 'Assembly' were two different languages.

'Assembly' has a more or less one-to-one correspondence with the machine code produced. It is essentially a substitution language where an easier text and punctuation combination were use to represent the numbers in the machine code.

'Assembler' has the possibility or more likely one-to-many correspondence with the machine code produced. It creates a level of functionality that includes macros that can allow substitution and construction of more complex representations of 'Assembly' that are then translated into machine code. Some this slightly higher level functionality included variables (including boolean and text values) which had both local and global scopes, comparison operators to control what code was created, and sequence symbols that changed the order of an assembly (instead of next instruction line at next memory location).

In almost all cases when you used an 'Assembler' you used 'Assembler' language that in turn produced either 'Assembly' language or machine language.


I was confused many times in discussions and getting lost about why individuals were using different terms. Personally I consider the terms as interchangeable but they do in fact refer to different things.
User avatar
luis
Addict
Addict
Posts: 3893
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: Where is Gnozal?

Post by luis »

Demivec wrote: 'Assembly' has a more or less one-to-one correspondence with the machine code produced.
Yes, through mnemonics.
Demivec wrote: 'Assembler' has the possibility or more likely one-to-many correspondence with the machine code produced. It creates a level of functionality that includes macros that can allow substitution and construction of more complex representations of 'Assembly' that are then translated into machine code.
Because the assembler, as the tool translating the assembly to machine code, can optionally offers those instruments.
It's not casual the simplest were just called assemblers and the more powerful were called macro assemblers.
In both cases, assemblers and macro assemblers are still the tools translating assembly to machine code, but offering a different set of helpers, a little higher level, to write your assembly program with.
In a sense, every assembler can optionally offer (and often does) a pseudo language that help you writing assembly code at a higher level. If you like, that is the language of the assembler. Through it you write assembly programs.
And that's the reality in the current lineup of different assemblers, with their different features, available for the same kind of assembly.
Demivec wrote:Personally I consider the terms as interchangeable but they do in fact refer to different things.
They are two different things.
"Have you tried turning it off and on again ?"
A little PureBasic review
User avatar
TI-994A
Addict
Addict
Posts: 2700
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: Where is Gnozal?

Post by TI-994A »

Demivec wrote:...In almost all cases when you used an 'Assembler' you used 'Assembler' language...
Hi Demivec. That statement of yours is akin to saying that when you used a compiler you used compiler language.

GCC, MSVC and Objective-C are all C language compilers. Anyone who uses any one of these compilers can accurately say that they program in the C language. But to be compiler-specific, they'd have to specify the compiler name.

Along the same logic, you could simply say that you used assembly language; but to say that you used an assembler language, you'd have to be specific, for example the IBM S/360 assembler language. :)
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
Post Reply