AOA AOA AOA Folding For Team 45 AOA Files Home Front Page Become an AOA Subscriber! UserCP Calendar Memberlist FAQ Search Forum Home


Go Back   AOA > Software > Programming and Assembly Language

Programming and Assembly Language Please read this Topic's rules!!

Reply
 
LinkBack Thread Tools Rate Thread
  #41 (permalink)  
Old 24th August, 2004, 05:02 PM
dC2002's Avatar
Member
 
Join Date: September 2002
Location: United Kingdom
Posts: 7

Hi, I used to be an assembler freak back in the early 90`s.. coding on 6502, 65836 (On the super Nintendo/wildcard device) then motorola 680X0 (amiga`s).. this was a pure hobby back then... but being in the uk I found it hard to find employment with just assemley language coding skills. So late 90`s I taught myself C++ and am happy working now Used to love coding assembler, gave me a buzz... C++ just pays the bills, esp miss cracking them novella anti-copy protections on the amiga ;D
__________________
Opteron 144 @ 9x315
ASRock 939 DualSata2
Arctic Cooling Freezer Pro
2x512mb Geil Ultra-X pc4400
XFX 6600gt @ 580/1160
Q-TEC 550 Watt
2xMaxtor 160GB
NEC 3520 DVD-R/W
AOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #42 (permalink)  
Old 21st February, 2005, 08:54 AM
Member
 
Join Date: February 2005
Posts: 2

reasom to learn assembly language is explained at www.shareplatform.com
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #43 (permalink)  
Old 21st February, 2005, 06:41 PM
Chesso's Avatar
Banned
 
Join Date: January 2005
Location: Sydney - Australia
Posts: 877
Send a message via MSN to Chesso

I prefer Object Pascal or Delphi i should say. Even C++ is a bit too much to waste my time on unless i really need it. It came in handy once when i made a dll plugin for alternate windows shell........for some reason i just didnt get how it was done in delphi

Iv'e seen some Assembler source and it doesn't look very inviting lol.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #44 (permalink)  
Old 21st February, 2005, 07:51 PM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,887
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

x86 assembly is the whole reason high level languages were invented, LOL. 68K is much friendlier, IMHO. For that matter, even 8051 is somewhat nicer.

Object-oriented languages are fine as long as the problem you are trying to solve fits in the realm of what those tools were designed to do. Step even the slightest bit outside that realm, though, and you are SOL. It pays to remember, however, that the high-level nature of objects and object-oriented languages comes with a price; that price is increased memory footprint and reduced performance.

Any monkey can build a solution when money is no object. Just throw RAM and CPUs at it until the problem goes away. It takes engineering to solve a problem within a given set of constraints. That's when it pays to be familiar with both low- and high-level languages.

As with any problem, it's a matter of choosing the tool best suited to the task at hand.
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #45 (permalink)  
Old 21st February, 2005, 09:52 PM
Chesso's Avatar
Banned
 
Join Date: January 2005
Location: Sydney - Australia
Posts: 877
Send a message via MSN to Chesso

That's delphi for me It's only a hobby and i like to get results fast. Iv'e considered taking a look at assembly out of curiosity but haven't had the time to search for information on it good compilers etc.

I don't know too much about it really.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #46 (permalink)  
Old 9th June, 2005, 03:23 PM
calgar's Avatar
Banned
 
Join Date: May 2005
Location: England
Posts: 375
Send a message via ICQ to calgar Send a message via AIM to calgar Send a message via MSN to calgar Send a message via Yahoo to calgar

eh, im intrested in learning asm mainly for programming PICs, but the links in this topic for sources are dead, anyone mind linking me up?
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #47 (permalink)  
Old 9th June, 2005, 03:58 PM
Kaitain's Avatar
Member
Mars Rover Champion, Joust Champion
 
Join Date: September 2001
Location: Jubail Industrial City, KSA
Posts: 4,038
Send a message via MSN to Kaitain Send a message via Skype™ to Kaitain

PICs very often use a basic-like language thesedays. It only takes about 1/2 an hour to learn asm for a simple chip like the old Intel and Motorola 8 bit controllers

For the Intel 8051 & 8052
http://www.8052.com

For the 6502
http://www.6502.org/
__________________
It is by will alone I set my mind in motion...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #48 (permalink)  
Old 9th June, 2005, 08:31 PM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,887
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

For the Z80
http://www.z80.info/

The 8080 is the same as the Z80 (indeed, Zilog built the Z80 to be a direct, but more powerful, replacement for the 8080).

There's a fair amount of interesting stuff here for the 6800, 6809, and 68HC11
http://www.programmersheaven.com/zone5/cat26/

The truth of the matter is, though, if you learn the 6502 you pretty well know the 6800, because the 6502 was designed by some of the same engineers who did the 6800. In many ways, the 6502 is streamlined 6800. The 6809 is a souped-up 6800, and the 68HC11 is more of the same, IIRC (it's only been near 20 years since I've worked with them ). I think the 68HC05 is part of the same family as well.

The Zilog Z8 can be found at www.zilog.com. It is its own little chip, rather like the PIC, but is completely register oriented (all of the RAM is the register file).
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #49 (permalink)  
Old 10th June, 2005, 03:40 AM
Áedán's Avatar
Chief Systems Administrator
 
Join Date: September 2001
Location: Europe
Posts: 12,232

Quote:
Originally Posted by calgar
eh, im intrested in learning asm mainly for programming PICs, but the links in this topic for sources are dead, anyone mind linking me up?
The PICs are microcontrollers, as opposed to microprocessors, so a lot of the work of programming a PIC is actually tied up getting the I/O modules to do what you want them to do. There are actually plenty of PIC tutorials out on the 'net, from basic flashing an LED up to far more complex systems.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #50 (permalink)  
Old 14th September, 2005, 02:21 PM
Member
 
Join Date: September 2005
Location: India -- Land of the Sages
Posts: 76

The best way to program would be to write most of the code in Higher-Level languages reverting to assembly whenever speed is critical or else precise control over code execution is desired .....But beyond that i believe using Assembly language would be a waste of energy and time .
__________________
Its the things that we're not supposed to do that matters ..not the things that we can do !!!


AOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #51 (permalink)  
Old 14th September, 2005, 02:30 PM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,887
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

That rather depends on your goal. I defy you to write the code that I put into the Z8 I used on the Keyboard Gizmo that I designed many years ago using a high-level language; I only had 2K of ROM space! As with all tools, you examine the tradeoffs and then pick the best tool or set of tools for the job.
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #52 (permalink)  
Old 14th November, 2006, 03:05 AM
MrSeanKon's Avatar
OcBible Creator
 
Join Date: June 2005
Location: Where the streets have no name
Posts: 766

Quote:
Originally Posted by Garfield
Refer to this sticky for Assembly Sources.
The link is broken. Can someone update it???
gizmo since you see OcBible let me ask you this:
Is it possible to use a high level programming language (e.g. C#) to write a program for monitoring temperatures, voltages???
A clock generator???
I think it is impossible.
__________________

Last edited by MrSeanKon; 6th April, 2007 at 07:40 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #53 (permalink)  
Old 14th November, 2006, 02:16 PM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,887
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

Quote:
Originally Posted by MrSeanKon
The link is broken. Can someone update it???
gizmo since you see OcBible let me ask you this:
Is it possible to use a high level programming language (e.g. C#) to write a program for monitoring temperatures, voltages???
A clock generator???
I think it is impossible.
In C#, I don't believe you can do it. C# is an applications language, not a systems language, like C is.

You could do it in C, but it wouldn't be very pretty.
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #54 (permalink)  
Old 15th November, 2006, 05:25 AM
MrSeanKon's Avatar
OcBible Creator
 
Join Date: June 2005
Location: Where the streets have no name
Posts: 766

OK thanks
But (correct me if I am wrong) this project will be a combination of C and assembly?
__________________
GRAB overclocking -->OcBible v1.55 Guidemania v1.21
CARDGAMES-->Jack v1.17 Deck v1.13 Preference v1.20
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #55 (permalink)  
Old 15th November, 2006, 09:55 AM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,887
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

Most likely pure assembly.
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #56 (permalink)  
Old 18th November, 2006, 01:55 AM
Allan's Avatar
Member/Contributer
 
Join Date: September 2001
Location: Denmark
Posts: 7,870

You can call the C functions from C#, but then it wouldn't be pure C# anyway. But you could make the GUI with C#...

I'm sure you can do it with plain C without too much assembly though.
__________________
AOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #57 (permalink)  
Old 6th April, 2007, 07:39 AM
MrSeanKon's Avatar
OcBible Creator
 
Join Date: June 2005
Location: Where the streets have no name
Posts: 766

Quote:
Originally Posted by Allan
You can call the C functions from C#, but then it wouldn't be pure C# anyway. But you could make the GUI with C#...
Although I am not a programmer I knew that!

Quote:
Originally Posted by Allan
I'm sure you can do it with plain C without too much assembly though.
Quote:
Originally Posted by gizmo
Most likely pure assembly.
Someone in Greece told me that we can use pure C to make monitoring and on the fly o/c programs.
Is it possible????
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #58 (permalink)  
Old 6th April, 2007, 10:26 AM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,887
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

Strictly speaking, yes, it is possible. As a practical matter, I have not found situations like this that did not benefit from at least a little assembly language. While it could be done in C, a small amount of assembly mixed in usually provides a cleaner solution.
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #59 (permalink)  
Old 13th April, 2007, 08:29 AM
MrSeanKon's Avatar
OcBible Creator
 
Join Date: June 2005
Location: Where the streets have no name
Posts: 766

But what's your final opinion?
Pure assembly for a project (you understand what I mean) or a combination of C++ and some assembly parts?
C++ is fast I think like assembly?
__________________
GRAB overclocking -->OcBible v1.55 Guidemania v1.21
CARDGAMES-->Jack v1.17 Deck v1.13 Preference v1.20
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #60 (permalink)  
Old 13th April, 2007, 09:06 AM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,887
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

The choice of language depends on the goal.

For pure speed nothing beats assembly. But it is a PITA to program, has a steep learning curve, and a long development cycle.

C is slower than assembly (in some cases as much as 10x slower), and has a larger memory footprint. However, it is not specific to a particular CPU or architecture, or even OS unless you us OS specific features. It also tends to be easier to learn, and has a shorter development cycle.

A good programmer is familiar with several languages, so that he can choose the best tool for the job at hand.

On top of all of this, you have the additional considerations of deploying a program over the Internet, and whether you want to run it from a web page or not.

As an example, there are a great many freely available Flash games on the web. They are written using ActionScript, which is a variation of Javascript. As a result, they can run in pretty much any browser that supports ActionScript, on pretty much any OS. The language is relatively easy to learn, and supports a great many high-level constructs, making the development cycle pretty short.

The price you pay for that flexibility is that the language has a lot of overhead, and because of that it requires a pretty fast cpu to get decent performance.
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
80x86 Assembly Trouble. DigitalKnight Programming and Assembly Language 10 23rd October, 2004 08:33 AM
Program? Microgers87 General Hardware Discussion 4 27th August, 2003 09:53 AM
Need program for C++ Allan Programming and Assembly Language 1 19th April, 2003 11:37 AM
The Assembly Language Garfield Random Nonsense! 16 7th August, 2002 03:24 PM
Assembly Programmers Garfield Programming and Assembly Language 13 28th June, 2002 08:37 PM


All times are GMT -5. The time now is 02:43 PM.


Copyright ©2001 - 2009, AOA Forums

Search Engine Friendly URLs by vBSEO 3.3.0