The microprocessor is an integrated circuit that elaborates information in the form of digital signals. Not to be confused with a microcontroller, which embeds many additional devices to control embedded systems.

learn more… | top users | synonyms

1
vote
1answer
16 views

single cycle vs multicycle datapath execution times

I have a question where I need to calculate the execution time for a program for single cycle and multicycle datapath. I think I may be doing it incorrectly since the multicycle execution time is ...
-1
votes
0answers
24 views

softwares available to desing a RISC microprocessor other then LogicSim?

I am an EE student. In my architecture course[might be different name in different place] we are designing ,as a final project in the course , a small microprocessor, RISC based on intel pipeline. In ...
0
votes
1answer
27 views

“DB” data directive explaination

What exactly is initialization of code memory IN 8051? Does the db directive command DB "SAM'' burn data into ROM location? WHAT DOES INITIALIZING WITH A BYTE VALUE MEAN ? I am all confused? I ...
-1
votes
0answers
28 views

Pic24F Communication interface with 24v IO EEPROM Module? [closed]

I want to know how can we setup communication between 3.3v/5v Microcontroller with 24vIO EEPROM Module? In otherwords. Microcontroller communication with Industrial Automation devices ? What would ...
0
votes
3answers
71 views

RAM and stack memory

I'd like to know what is the difference between RAM ( data memory ) and the stack memory in PIC micro controllers if both of them is volatile( not sure about stack ) and the stack is temporary memory? ...
17
votes
8answers
3k views

Why do Microcontrollers need a Clock

Why do instructions need to be processed at set time intervals (i.e. with the use of a clock)? Can't they be executed sequentially - immediately after the previous instruction has completed? An ...
0
votes
0answers
35 views

Why use decode stage on pipeline to forward control signals?

In a pipelined processor we use decode stage to decode an instruction and forward the control signals that were found until they are used. Why we don't pipeline the whole instruction and let each ...
0
votes
1answer
51 views

Z80 Binary Front Panel Design

Hello fellow engineers, I need some design design help with a Z80 based computer I am building. It will feature a binary Front Panel. The following functions may be performed via the front ...
2
votes
1answer
58 views

Crystal Footprint Placement

Pretty simple question, please point me in the right direction if this has already been asked. I am designing a board around freescale's IMX23 microprocessor which runs from an external crystal at ...
0
votes
1answer
39 views

What is the main difference between RST (0-7) and RST (5.5-7.5) in microprocessor 8085?

What's the main different between these two restart instructions? On the first case they are 1 byte call instruction and next case, they are vectored interrupts but definitely they are also call ...
14
votes
6answers
3k views

Why do we need the “nop” I.e. No operation instruction in microprocessor 8085?

In microprocessor 8085 instruction, there is a machine control operation "nop"(no operation). My question is why do we need a no operation? I mean if we have to end the program we will use HLT or RST ...
-3
votes
1answer
57 views

Using djnz to make a loop in 8051 assembly language [closed]

To program 8051 using djnz loop I know that if we give r0 a number the loop will be executed accordingly. For example: ...
1
vote
1answer
60 views

After research, how should I go about creating a bluetooth peripheral?

My goal is to create a very simple (1 input, 1 output, both high / low states) bluetooth peripheral to be worn on the wrist to connect to an android phone running Lollipop. I have the following ...
0
votes
2answers
77 views

How a multicore processor is initialized? [closed]

Is there any general protocol or algorithm to start a multicore processor? If so, how it works?
-3
votes
1answer
87 views

How to reset all flags in 8085 without an arithmetic or logic operation?

How can I reset all flags in 8085 without an arithmetic or logic operation?
0
votes
1answer
38 views

In 8085, what is peripheral mapped I/O?

Is the peripheral mapped I/O different from what is known as port-mapped I/O or simply known as I/O mapped I/O? I don't see the usage of the term "peripheral mapped I/O" around much. Was it only ...
1
vote
3answers
321 views

Why is the cost of microcontroller lesser than microprocessor

I was learning today about 8051 and I encountered a point which said microntroller generally costs less than a microprocessor. I didn't understood why is it so since microcontrollers have RAM, ROM, ...
2
votes
3answers
73 views

Buses in 8086 micro-processor

What are the buses known as A, B, C in the following architecture of 8086? I cannot find any information about these.
-1
votes
2answers
168 views

Most carefull way to concatenate strings in C

My firmware in one cycle per 10 second is moving string to the output (csv file on SD card). The problem is that string sometimes in non-deterministic way is changing adding values that shouldn't be ...
-3
votes
1answer
63 views

I want to create a custom computer board with USB and Ethernet feature that runs linux. [closed]

I want to make a computer board which only has USB and Ethernet. And the board should run linux. Actually I want to download some data from internet and save it on USB device. I am a programmer I can ...
0
votes
0answers
42 views

Simulating LCD device

I wanted to connect LCD LM016L in my device simulating it on Proteus.I wanted to use 8255 to connect the LCD directly with one port of the 8255.But I have a doubt do I need a controller too or just ...
1
vote
2answers
67 views

Why is there an inductor in this power supply circuit for SAM3X MCU?

I am working on a senior design project and am trying to embed an ATSAM3X8E (Here is the Application Sheet PDF) micro-controller into a system my team is designing. What is the pourpose of ...
1
vote
1answer
297 views

Micro and Nano Memory, Calculate Reducing Bits?

I ran into a question: in digital system with micro-programmed control circuit, total of 32 distinct pattern operation signal is ...
1
vote
1answer
148 views

Using an FPGA over an Arduino

Having read this excellent answer on FPGA's vs Microcontrollers I have a few queries. I recently completed a project that utilised reflectance sensors. Simply put, it reads the reflectance by ...
2
votes
7answers
1k views

Why are 11, 111, 1111, … equivalent to -1 in two's complement? [duplicate]

According to two's complement, the binary numbers 111 and 11111111 are equivalent to -1. Why or how are the binary numbers 11, 111, 1111, 1111 1111, etc. equivalent to -1 in two's complement? Can ...
3
votes
3answers
203 views

Why All 1's used as a second input in decrement operation of ALU?

Suppose the first four data inputs are X (X0, X1, X2, X3) and the second four data inputs are Y (Y0, Y1, Y2, Y3) in a 4-bit ALU. Why "All 1's" are used as an input for Y in the decrement operation of ...
3
votes
1answer
220 views

Interfacing 2 accelerometers through I2C

I am looking at designing a system where 2 accelerometers are connected to a microcontroller using I2C however I am unsure as to how this would actually work. In particular would I need a ...
0
votes
0answers
37 views

How the clock runs on modern processors? [duplicate]

I would like to understand how the clock in modern processors. It is delivered via hardware or via software? I understand how the clock works of a microcontroller with an external crystal or even ...
12
votes
3answers
4k views

Why does a processor get hot?

I would like to understand how the computation process causes the processor to get hot. I understand that the heat is generated by the transistors. How does the transistors generate the heat ...
0
votes
3answers
147 views

How Can A Coded Firmware Control Hardware [closed]

I really want to know how could a virtual coded program really affect and imitate and animate a piece of hardware. I Have Always Seen The Diagram Of Processors In the Book Showing ALU and CPU as The ...
-1
votes
1answer
66 views

Can a microprocessor ( specifically the ALU) be considered as an FPGA that is re-programmed by the Instruction Decoder

So, I have been reading about FPGAs. As I understand, they work by providing logic blocks for the programmer to link together to solve a particular task. Many such tasks may run in parallel; so an ...
0
votes
0answers
32 views

What is the procedure to execute GO command in mda-win8086 kit?

I think to execute a program whole at a time GO command is the only option in a 8086 microprocessor kit. But unfortunately I am not understanding how to execute GO command. Yes, I understand I have to ...
3
votes
2answers
167 views

What should I know if I want to move from microcontrollers to microprocessors? [closed]

I'm familiar with using microcontrollers, both with frameworks like Arduino and natively (PIC / AVR). I'm also familiar with the general architecture of embedded systems, in so much as I know you have ...
1
vote
1answer
91 views

need for external i/o interfacing like in 8086 for latest processors

I am a student now currently learning about interfacing 8255 with 8086. For me the doubt is that, is there a need for external i/o interfacing like in 8086 for latest processors? what is GPIO ?
0
votes
1answer
53 views

5V I/O Chip Which Works Like An Atmel µC Port? [closed]

I'm working on a project with a 5V vintage 8-bit microprocessor, which I would like to hook some I/O to. I'd like to find a nice little package that could help me with this. I'm happy if it is a ...
0
votes
0answers
36 views

Control Steps of “SUB R1, [[R3]]” for Intel 8086

Question What are the control steps for SUB R1, [[R3]] for Intel 8086? I do not know how to obtain the content of the address twice. I guess that maybe I should put two \$MAR_{in}\$s like the ...
1
vote
0answers
43 views

arduino output pins collapsing voltage - is it dead?

After a while i came back to my arduino UNO R3, and attempted most simple program, that sets digital output pin high. I measured voltage over that pin, and got 5 volts, but when I connected an LED, ...
-1
votes
1answer
71 views

CPU Core frequency [closed]

I was going through the selection criteria of CPU (MCU/MPU/FPGA) and observed that core frequency is one important parameter while selecting a CPU. But I was unable to get information regarding, how ...
0
votes
2answers
73 views

Shift value to some point in binary number

I wonder if it is possible to do the following. For instance, I have a number 00001110. I am shifting it left. -> 00011100.... But the question is if it possible to start setting value in carry flag ...
1
vote
1answer
61 views

What is Pipeline Flushing in microprocessors

I am reading the book "Writing Operating System from Scratch" by Nick Blundell. In one of the chapters, it is explained how we make transition from 16bit mode to 32bit mode. It says that before moving ...
0
votes
1answer
220 views

STM32F4 - DMA with bigger steps

I'm programming an STM32F4 Discovery board to push a sequence of 12 bit values into the DAC data register. This works well using timer interrupts: inside my IRQ handler, I have code that looks like: ...
0
votes
2answers
151 views

Why does the Intel Atom processor need so much thermal dissipation compared to similar ARM processors

When looking at cases designed around the Intel NUC Atom-based board it seems they put a lot of effort into thermal dissipation (i.e. the entire case is basically a big heatsink). Of course, these ...
0
votes
1answer
45 views

Incompatibility between 5v processor and 12v source

L,H on the diagram below represent processor pins in LOW/HIGH states. LOW is 0v, HIGH -- 5V. Difference in voltage levels (5V vs 12V) leads to problems -- current flows on paths where it shouldn't. If ...
1
vote
2answers
89 views

How is data allocated in an assembly language using the instruction set?

Consider the following excerpt of assembly code written for the Nios II embedded processor architecture: ...
0
votes
1answer
118 views

Why does the A8 have twice as many transistors than the Haswell processor yet runs on less power?

There's something I don't get - I am always under the impression that the more transistors we pack in, the more energy it consumes and the hotter it gets (assuming we haven't shrunk the die). However, ...
1
vote
2answers
109 views

How much energy does cache memory consume in a modern processor? [closed]

What fraction (on average or range) of total processor energy consumption does the cache subsystem consume in modern processors (say post 2009)?
7
votes
3answers
262 views

How to find out if a microprocessor is powerful enough

Everybody knows its easy to develop a proof of concept for an embedded device on a rasbperry pi or even a PC, although when it comes down to choosing a microprocessor for your product, it is difficult ...
2
votes
3answers
87 views

Fast and cheap data aquisition

I need to be able to analyse signals that are 10ns in length. It comes from a PMT (Photomultiplier tube) or an equivalent detector. We need to be able to trigger at a certain signal strength coming ...
3
votes
5answers
781 views

How do you design processors / microprocessor [ not broad ]

Apologies for this vague title, but my question is a little specific. I have two concerns : During my digital electronics class, I was told that the design of the processor is first carried on an ...
-4
votes
3answers
85 views

What is the maximum battery lifetime for a sleeping microprocessor? [closed]

I know it depends on the processor and the battery, I just want to know what's possible. [EDIT:] An example would be great!