Category: Programming Microcontrollers
-
ADD Instruction in Intel 8051 (MCS-51) Microcontroller
The ADD instruction tells the microcontroller’s CPU to add the source byte to register A and put the result in register A. Recall, A is the accumulator register typically used for all arithmetic and logic instructions. The ADD instruction is usually in the following form: ADD A, source ; ADD the source operand to the…
-
The Difference between a Simulator and an Emulator
A simulator is software that runs on a PC and allows the microcontroller code to be simulated (run) on the PC. Many programming errors can be identified and corrected during simulation. An emulator is hardware that connects a PC to the microcontroller in a prototype mechatronic system. It typically consists of a printed circuit board…
-
Software Development Tools for a Microcontroller Programmer
Software development tools are computer programs typically run on PCs that allow the programmer or system developer to create, modify and test applications programs. Some of the common software development tools include: Text Editors A text editor is usually used to create or edit programs and text files. The Windows OS comes with a text…