Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/31/00 16:13
Read: times


 
#2967 - RE: C or ASM ?
As soon as the project grows bigger and bigger, it's better to use higher level of programming to keep the project overview clear and all under control. Some bytes more or less doesn't care at all this days.

I started as an assembly programmer and I know how hard it was to keep an overview of a project with only 6 kBytes of compressed assembly code.

Then I started to use C when the projects were growing bigger. Now I'm programming a small ISDN PBX with one external S0 and one internal S0 with up to 8 ISDN telephones. The project has about 30 source files with the total source file size of about 1 MByte.

When programming the ISDN D-channel state machine I'm using a description languge to program in so called 'Protocol Description Language'.
This is highly compressed way of descripting a certain process with states, received messages, state actions and state transitions as a reaction to received process mesages.
PAS (Protocol Architecture Specification) file is compiled using Siemens PCT tools to multiple 'C' source files that are finaly compiled using embeded C251 compiler from Keil to executable code.

So if possible, stay away from the assembly language. With careful 'C' programming, you can keep your code size almost the same like using assembly language if you are using latest versions of C compilers.



List of 32 messages in thread
TopicAuthorDate
Open Source TCP/IP?            01/01/70 00:00      
RE: Open Source TCP/IP?            01/01/70 00:00      
RE: Open Source TCP/IP?            01/01/70 00:00      
RE: Open Source TCP/IP?            01/01/70 00:00      
RE: Open Source TCP/IP?            01/01/70 00:00      
RE: Open Source TCP/IP?            01/01/70 00:00      
RE: Open Source TCP/IP?            01/01/70 00:00      
RE: Open Source TCP/IP?            01/01/70 00:00      
RE: Open Source TCP/IP?            01/01/70 00:00      
RE: Open Source TCP/IP?            01/01/70 00:00      
C or ASM ?            01/01/70 00:00      
RE: C or ASM ?            01/01/70 00:00      
RE: C or ASM ?            01/01/70 00:00      
RE: Open Source TCP/IP?            01/01/70 00:00      
RE: Open Source TCP/IP?            01/01/70 00:00      
Enlist now and be stationed in Hawaii            01/01/70 00:00      
Open Source Project Management            01/01/70 00:00      
I will join this task            01/01/70 00:00      
RE: Open Source Project Management            01/01/70 00:00      
RE: Open Source TCP/IP?            01/01/70 00:00      
RE: Open Source TCP/IP?            01/01/70 00:00      
RE: Open Source TCP/IP?            01/01/70 00:00      
RE: Open Source TCP/IP?            01/01/70 00:00      
Ethernet and Dialup            01/01/70 00:00      
RE: Ethernet and Dialup            01/01/70 00:00      
Little Tof            01/01/70 00:00      
RE: C or ASM ?            01/01/70 00:00      
RE: Ethernet and Dialup            01/01/70 00:00      
FTP/Source Control/Web page            01/01/70 00:00      
RE: C or ASM ?            01/01/70 00:00      
RE: C or ASM ?            01/01/70 00:00      
RE: Open Source tcpip            01/01/70 00:00      

Back to Subject List