Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Closed Thread
 
Thread Tools Display Modes
Old Jun 21st, 2006, 7:55 PM   #21
Wizard1988
Professional Programmer
 
Wizard1988's Avatar
 
Join Date: Oct 2005
Location: Chitown
Posts: 422
Rep Power: 4 Wizard1988 is on a distinguished road
Assembly is not based on 1s and 0s
Wizard1988 is offline  
Old Jun 21st, 2006, 8:00 PM   #22
hush
Programmer
 
hush's Avatar
 
Join Date: Feb 2006
Location: 127.0.0.1
Posts: 35
Rep Power: 0 hush is on a distinguished road
> Most programming languages are turing complete, if that's what you're saying.

I’m stating that there is a theory that concludes that for a supposed language to be classified as a language it has to be at the computational equivalent of a Turing machine.
hush is offline  
Old Jun 21st, 2006, 8:06 PM   #23
Mad_guy
Hobbyist Programmer
 
Mad_guy's Avatar
 
Join Date: Oct 2004
Location: Sandstorm, Techno Club
Posts: 239
Rep Power: 5 Mad_guy is on a distinguished road
Send a message via AIM to Mad_guy Send a message via MSN to Mad_guy
Assembly is the deliniated form of a processors native opcodes; some think of the instructions as 'macros' in a sense and others just think of them in terms of the correlation between the instruction and the emitted machine code the assembler produces (i.e. the correlation between the "add to accumulator" instruction and "0x12".) What it's based on is largely irrelivant in this situation, it has nothing to do with if or if not it is or is not something. C was based on B. Delphi was based on Pascal. Modern computers are still (largely) based on the von neumann architecture. Doesn't make much of an arguement to say that "[x] isn't [y] because it's based on [z]."

Quote:
I’m stating that there is a theory that concludes that for a supposed language to be classified as a language it has to be at the computational equivalent of a Turing machine.
IOW, that language has to be Turing Complete to be considered a language.
__________________
os: mac os 10.5.4
revision control: git
editor: emacs

site
Mad_guy is offline  
Old Jun 21st, 2006, 8:26 PM   #24
Jimbo
Battle Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 770
Rep Power: 3 Jimbo is on a distinguished road
Off topic:
Quote:
Overall, you scored as follows:

10% scored higher (more nerdy), and
90% scored lower (less nerdy).

What does this mean? Your nerdiness is:

Supreme Nerd. Apply for a professorship at MIT now!!!
That scale seems a little easy to score on...
Jimbo is offline  
Old Jun 21st, 2006, 9:25 PM   #25
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Quote:
Assembly is not based on 1s and 0s
What does that mean? The whole dam' machine is based on 1s and 0s. Bare-bones assembly language is a one-to-one mapping between mnemonics and the binary code that implements the instruction. Some assemblers provide higher level constructs such as IFs. Macro assemblers provide a macro facility which can be useful in larger projects with multiple coders assigned. The machine code (interpretation of the mnemonics) might not control the operation on its own, in detail. It might cause a series of micro-code instructions to be executed in the appropriate order. Implementing logical processes is not always a matter of merely combining 1s and 0s. Timing is often an issue. The hardware devices have setup and hold times which must be met for the operation to be reliable. Some devices require the application of the signals in an appropriate sequence. Chit like that.

At the OP -- your friend is ignorant, at a minimum. We'll hope it's mere ignorance as opposed to stupidity. Should he decide to visit the forum, remind him to read the faq/rules first, in order to get a feel for the community and its culture. Anything less is, at best, thoughtless. At worst, it's a sign of a spoiled person, or a person who thinks they're too valuable to have to waste their time when they're in a hurry to get free help. I bring this up for a point: Stuff like that pisses me off much worse than a poster stating that I'm an asshole (since it's a true statement).
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline  
Old Jun 21st, 2006, 9:28 PM   #26
bivhitscar
Hobbyist Programmer
 
bivhitscar's Avatar
 
Join Date: Oct 2005
Location: Melbourne, Australia
Posts: 126
Rep Power: 4 bivhitscar is on a distinguished road
Bloody hell, that seemed far too easy

Quote:
12% scored higher (more nerdy), and
88% scored lower (less nerdy).

What does this mean? Your nerdiness is:

High-Level Nerd. You are definitely MIT material, apply now!!!.
__________________
it's ironic considerate rarity patron of love higher knowledge engulfs me...
bivhitscar is offline  
Old Jun 21st, 2006, 9:52 PM   #27
Wizard1988
Professional Programmer
 
Wizard1988's Avatar
 
Join Date: Oct 2005
Location: Chitown
Posts: 422
Rep Power: 4 Wizard1988 is on a distinguished road
Based was the appropriate word. If you wrote a bunch of 1s and 0s which were some sort of a program you wouldn't call that assembly language.
Wizard1988 is offline  
Old Jun 21st, 2006, 10:14 PM   #28
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
In a sense you're correct, you would call it machine language, for which assembler provides handy mnemonics. 001111100000001 means to put the value, 1, in the A register of a Z-80. LD A,1 is somewhat more productive, though there's very little abstraction involved. Nevertheless, the whole process, regardless of language, is a process of solving problems by manipulating binary values (1s and 0s, trues and falses, whatever).
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline  
Old Jun 21st, 2006, 11:18 PM   #29
bivhitscar
Hobbyist Programmer
 
bivhitscar's Avatar
 
Join Date: Oct 2005
Location: Melbourne, Australia
Posts: 126
Rep Power: 4 bivhitscar is on a distinguished road
>001111100000001 means to put the value, 1, in the A register of a Z-80.

Please tell me you knew that by heart. :p
__________________
it's ironic considerate rarity patron of love higher knowledge engulfs me...
bivhitscar is offline  
Old Jun 21st, 2006, 11:34 PM   #30
Jimbo
Battle Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 770
Rep Power: 3 Jimbo is on a distinguished road
Quote:
Originally Posted by bivhitscar
>001111100000001 means to put the value, 1, in the A register of a Z-80.

Please tell me you knew that by heart. :p
I know this one by heart (MIPS32):
00000000000000000000000000000000  # SLL $0,$0,0
Ok, maybe that's not the same... :p
Jimbo is offline  
Closed Thread

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:05 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC