Diff. Between MicroController & MicroProcessor

Discussion in 'Embedded Systems and Microcontrollers' started by Bilos_9, Mar 24, 2007.

  1. Bilos_9

    Thread Starter New Member

    Mar 24, 2007
    1
    0
    who can make Diff. Between MicroController & MicroProcessor
    with block diagarm, uses, & costs.
     
  2. Dave_

    Member

    Mar 22, 2007
    28
    0
    Well the biggest difference I can see is that a microcontroller can do everything a pc can, but on a small scale. A microprocessor on its own is not very good. The processor does have internal memory, but deffinatly not enough to hold a program.

    I'm not too sure about the pricings, because comparative processing speed of the microcontroller vs the processor, I think the processor will be cheaper.

    As for uses, the microcontroller can do just about any basic task, but the processor can only really number crunch as there are no general inputs/outputs.

    tbh this is like comparing a bicycle to a motor! :p
     
  3. Dave

    Retired Moderator

    Nov 17, 2003
    6,960
    145
  4. Dave_

    Member

    Mar 22, 2007
    28
    0
    sorry to move slightly off topic, but is it possible to run a program just using a processor as they have a very small ammount of memory?
     
  5. Dave

    Retired Moderator

    Nov 17, 2003
    6,960
    145
    As long as the program (and data) can reside in the processor registers (or processor cache if it has some on-chip) then I see no problem. Such a program would be nigh-on-useless.

    Dave
     
  6. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    As far as the microprocessors that have dealt with are concerned, they all tended to assume that the first instruction was at a memory location that was outside the device itself.

    It seems like the only storage that a microprocessor has are registers that are used to hold data temporarily. I can't imagine how one could do anything useful with them.

    I did see an interesting circuit once where someone had arranged to use pullups and pull-down resistors on the 8-bit data bus to implement a permanent NOP instruction so that the address bus simply acted like a free-running 16-bit binary counter.

    Not exactly the most productive use of a microprocessor.

    hgmjr
     
  7. Dave

    Retired Moderator

    Nov 17, 2003
    6,960
    145
    Hi hgmjr,

    This is pretty much my take. I was assuming in my earlier assessment that the first instruction was residing in the processor registers and that we can abstract from the problems of getting data and instructions into and out of the registers. Some processors are considered to have level-1/2 cache which is a smaller and faster implementation of memory, but then we are down to interpretations or specific architectures.

    The reality is that microprocessors are design to take advantage of the full memory heirachy and divergence from this inherently poses problems.

    Dave
     
  8. kiran khanal

    New Member

    Nov 1, 2009
    2
    0
    microprocessor contain no RAM,no ROM ,and no I\O ports on the chip itself.for this reason ,they are commonly known as general purposed microprocessors.a microcontroller has microprocessor in addition to RAM,ROM and I|O devices in a single chip.
     
  9. maxpower097

    Well-Known Member

    Feb 20, 2009
    795
    388
    I think the better comparison would be a bicycle to a motorcycle engine.:)
     
Loading...