Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 04-21-2003, 01:31 PM   #1
Member (10 bit)
 
LocoCoyote's Avatar
 
Join Date: Jan 2003
Location: Germany
Posts: 537
Send a message via Yahoo to LocoCoyote Send a message via Skype™ to LocoCoyote
Does anyone still use assembly?

Just curious. Seems to be a lot of talk going on here, but Assembly seems to be missing.
__________________
Nisi defectum, Exploro quippini
LocoCoyote is offline   Reply With Quote
Old 04-22-2003, 06:05 AM   #2
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
Haven't used assembly since I packed away my Sinclair ZX Spectrum in the late 80's.

David.
David_Jones is offline   Reply With Quote
Old 04-22-2003, 06:42 AM   #3
aym
Registered User
 
aym's Avatar
 
Join Date: Nov 2001
Posts: 1,965
I learned some assembly for the Intel 8080 a year ago, never used it then, I just prefer to use high level languages like C or Java.
aym is offline   Reply With Quote
Old 04-22-2003, 06:59 AM   #4
Member (9 bit)
 
Join Date: Jan 2002
Location: Halifax, Canada
Posts: 267
I'm learning assembly for PIC controllers, but there are C compilers for them as well.
Fraughton is offline   Reply With Quote
Old 04-22-2003, 12:30 PM   #5
Member (12 bit)
 
Paul Victorey's Avatar
 
Join Date: Mar 1999
Location: MN or WI
Posts: 3,017
For the x86, I have developed subroutines in assembly for computationally expensive operations, to take advantage of MMX and other advanced features that compilers won't use.

For the PIC microcontrollers I use, I only code in assembly. There are usually quite elegant ways of generating quite efficient code, plus you can very easily determine the exact number of instruction clock cycles that your code will take, so if you are writing a program that must run under realtime constraints, it's easy to figure out if you can actually accomplish the task in the time you have available. If each instruction takes one microsecond (as in any of the midrange 4 MHz MCUs), and you need to complete a set of tasks in 500 microseconds, assembly allows you to easily calculate your worst case scenario (the longest path). It's not possible to do that in C, because it's not obvious how long a given set of instructions will take.
Paul Victorey is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes 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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:57 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2