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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
James Hinnant
02/15/18 15:15
Read: 388 times
Silicon Valley

#190842 - Re: assembly vs C
Responding to: Erik Malund's previous message
Everybody has their own reality, and can realize others' only in approximation :). I agree with all your points, but not that they're universal. The scenario you have IS more likely to apply, but there's edge cases.

For the optimization project I mentioned, the chip cost was probably around $10K per 8051 (plain-vanilla no-flash UT69RH051 Radiation-Hardened MicroController: No change in hardware allowed by the project, and external PROM fixed at 32K. Targeted for $250M-per-unit satellites (and launched on at least a few), so they didn't care about optimization costs, just that it was done in spec and on schedule.

For the OP's project, maybe they also aren't flexible on hardware. The controller might not be the only thing they have to squeeze into the PROM. Or they might want to use this as an addition to a lab course, and the dev boards are already in the lab. I think it may be better to teach at least some part of digital systems labs in assembly, there's less distance between the hex code you're stepping through and the source language.

Re the challenge, I wouldn't want to get into it, but I have heard of a solar array controller board being produced on contract by a team of 5 in China for $10K in a month, including prototype and full documentation set, so I wouldn't want to say this conversion couldn't be outsourced overseas for $200. Maybe someone could even be found to do it in the USA, on sologig, etc., for that price. Not saying I'd consider it fair payment (in the USA), but some might accept it.

List of 16 messages in thread
Arithmetic operation with signed number & fractional number      Razman Ramedan      11/21/17 23:32      
   Fractional Arithmetic      Michael Karas      11/22/17 03:34      
      agree      Erik Malund      11/22/17 08:29      
   Why Assembler?      Andy Neil      12/05/17 01:49      
      Hard to do better.      Michael Karas      01/25/18 21:36      
         Assembly vs. Keil      James Hinnant      02/14/18 17:43      
            assembly vs C      Erik Malund      02/15/18 08:18      
               Re: assembly vs C      James Hinnant      02/15/18 15:15      
                  In the good old days...      Kai Klaas      02/16/18 05:56      
                     in the new days      Erik Malund      02/17/18 08:52      
   Hi Razman, here are some links      James Hinnant      02/15/18 15:41      
      Code samples      James Hinnant      02/15/18 15:55      
         Oops - code library is broken      James Hinnant      02/17/18 15:43      
      A bit late      Andy Neil      02/19/18 16:13      
         threads autolocking at approx. 2 months      James Hinnant      02/20/18 16:49      
            threads autolocking      Andy Neil      02/21/18 03:15      

Back to Subject List